Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Connect laptop to internet without ethernet

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
lnex
n00b
n00b
Posts: 4
Joined: Sat Sep 20, 2025 1:32 pm

Connect laptop to internet without ethernet

  • Quote

Post by lnex » Sat Sep 20, 2025 1:44 pm

Good day; would be grateful for help connecting laptop to internet; I have installed Calculate Linux Scratch successfully; i don't have access to ethernet; discovered supplied wifi adaptor card was not compatible with gnu/linux so replaced it with new AX210NGW wifi adaptor card; made a wpa supplicant file and initialised wpa supplicant successfully; using 'ip link' command shows wlp1s0 is UP then sometimes it says DOWN until I initialise wpa supplicant again; have created /etc/resolv.conf file with the two broadband dns servers plus nameservers 8.8.8.8 + 8.8.1.1+1.1.1.1; when using command 'ping gnu.org computer displays: ping: gnu.org: Temporary failure in name resolution; have worked through forums like Gentoo and others and videos without success;
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Sep 20, 2025 3:25 pm

lnex,

Welcome to the Gentoo forums.
That your wifi is UP is required but not suffcient.
wpa_supplicant will take care of the crypo, then dhcpcd can do your normal settings.

Only the first 3 nameserver entries in resolv.conf will be used for name lookups.

You need t route to the internet too as the nameservers are not on your local network.
Ifconfig should show that your interface is up and has an ip address.
Route should show your default route, which is your next hop towards the internet.
Does all that look correct?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Sep 20, 2025 3:28 pm

Moved from Networking & Security to Unsupported Software.
Calculate Linuxis not Gentoo, so support requests belong here.
Not because you won't get help. It's a warning to Gentoo users that solutions here may not work for them.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
lnex
n00b
n00b
Posts: 4
Joined: Sat Sep 20, 2025 1:32 pm

  • Quote

Post by lnex » Sat Sep 20, 2025 7:44 pm

Thank you for reply Neddy,
dhcpcd is not installed on the computer;
However I did edit /etc/resolv.conf file;
When using command 'ifconfig' on the new computer,
wip1s0 has 'inet', 'netmask' and 'broadcast' numbers are missing;
Whereas on the computer I use for this forum,the numbers
are present; I used the inet and broadcast numbers and put them
in /etc/resolv.conf file; still when ping gnu.org we have ping: gnu.org: Teemporary failure in name resolution;
further help would be much appreciated. :)
Top
sublogic
Guru
Guru
User avatar
Posts: 388
Joined: Mon Mar 21, 2022 3:02 am
Location: Pennsylvania, USA

  • Quote

Post by sublogic » Sun Sep 21, 2025 12:16 am

lnex wrote:Thank you for reply Neddy,
dhcpcd is not installed on the computer;
Then you need to install it. And you have no Internet access for the installation...

I don't know how Calculate Linux works, but if it can install packages from downloaded files there is a low risk solution. Download the necessary files from the computer with a working network, write them to a USB key and copy them from the key to the networkless computer. Install dhcpcd from there.

If that's not possible, there is a way to get the network up manually, by squatting on an unused IP address, behind the router's back. Do this just long enough to install dhcpcd and tear down your bootleg networking immediately. We can discuss that if the USB key way is not practical.
The practical unit of "Learning Experience" is the milli-Gentoo.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Sep 21, 2025 10:08 am

lnex,

If you have busybox, you may have udhcpcd.
Type busybox and it will tell you you modules it was built with.

Bring up your WiFi with wpa_supplicant, so that its associated and authorised then do
dhcpcd <if_name> to get the ethernet side set up.
That avoids running the risk of trying to use the same IP address in two places at the same time.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
lnex
n00b
n00b
Posts: 4
Joined: Sat Sep 20, 2025 1:32 pm

  • Quote

Post by lnex » Mon Sep 22, 2025 6:48 pm

[quote="sublogic"][quote="lnex"]Thank you for reply Neddy,
dhcpcd is not installed on the computer;[/quote]Then you need to install it. And you have no Internet access for the installation...

I don't know how Calculate Linux works, but if it can install packages from downloaded files there is a low risk solution. Download the necessary files from the computer with a working network, write them to a USB key and copy them from the key to the networkless computer. Install dhcpcd from there.

If that's not possible, there is a way to get the network up manually, by [u]squatting[/u] on an unused IP address, behind the router's back. Do this just long enough to install dhcpcd and tear down your bootleg networking immediately. We can discuss that if the USB key way is not practical.[/quote]

Thank you sublogic,
Did think of this idea before I read your reply moments before; we must have similar ways of thinking. :)
Top
lnex
n00b
n00b
Posts: 4
Joined: Sat Sep 20, 2025 1:32 pm

Connect laptop to internet without ethernet - solved!

  • Quote

Post by lnex » Mon Sep 22, 2025 7:13 pm

[quote="NeddySeagoon"]lnex,

If you have busybox, you may have udhcpcd.
Type busybox and it will tell you you modules it was built with.

Bring up your WiFi with wpa_supplicant, so that its associated and authorised then do
dhcpcd <if_name> to get the ethernet side set up.
That avoids running the risk of trying to use the same IP address in two places at the same time.[/quote]

Hi Neddy,
Busybox is installed with udhcpcd; learnt what the function of a dhcp server is and from there looked at a handful of YouTube videos where I came upon this:
https://youtu.be/SnACG4TDqJw
Firstly, initialised wpa_supplicant; then used command ifconfig;
Then started to type in commands from the video that made sense from three minutes thirteen seconds: In order to get an IP from a DHCP server, example:

First type "sudo dhclient -r eth0" to release your IP address.

Then type "sudo dhclient eth0" to renew it.

Then started typing all the command from the beginning of the video until the end; video is four minutes seven seconds; it then connected new computer to iniernet;

Thank you for your guided wisdom Neddy. :)
Top
Post Reply

8 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic