[Clfs-support] Still No Internet
Dan McGhee
beesnees at grm.net
Thu Oct 22 18:13:25 PDT 2009
I'm sorry, but this will take awhile to read.
I've completed the CLFS-SVN-20091015-x86_64-Multilib build and am trying
to move on to CBLFS. My problem is that I cannot get connected to the
internet. This is all the networking that I want to do--and to connect
when I'm travelling. At home I have a Lynksys router wired to my PC.
In the laptop I have an onboard wireless card with an Atheros chipset
and a Linksys usb device. I can connect with both of these using my
Ubuntu-9.04 host system.
I don't think I have a driver problem because neither wireless device
connects and if I issue <iwlist scan> each device can "see" the router.
Since I want only the dhcp client, I installed dhcp-3.1.0 using the
instructions in the CBLS wiki. I configured it by "copy and
paste"--made the /etc/dhcpcd.conf file and installed dhcp from the
clfs-pre8-bootscripts. I rebooted the whole system and the network and
dhcp failed to start because of a lack of "service" files in
/etc/sysconfig/network-devices/ifconfig.{eth0,wlan0,wlan1} directories.
BTW, eth0 is my LAN nic, wlan0 the wireless card and wlan1 the usb device.
I then went to the CLFS book Chapter 12.7 Networking Interface
Configuration and followed the directions there. I installed the dhcpcd
service and wrote the ifconfig.*/dhcpcd files. To try to keep things
clear, at this point, dhcp-3.1.0, dhcp init script and dhcpcd service
are installed. I can post the startup error messages if anyone wants
them, but the network failed and dhcp failed to start.
I found "service-dhclient" in the boot scripts so I installed that and
removed dhcpcd service. I also changed the ifconfig.* scripts to
dhclient. Now when I try to start the network, I get the message:
"Bringing up the wlan0 interface....
NET: Registered protocol family 17
[OK]
Starting Dhcp version etc,etc,etc
[FAIL]"
It times out.
When I run <dhclient wlan0>, I get:
DHCPDISCOVER on wlan0 255.255.255.255 port 67 interval 5
...this is repeated with interval 7, 11, 21, 14 and 3...
No DHCPOFFERS received
Sleeping
I tried to set up like dhclient in Ubuntu, but couldn't find all the
stuff I needed. I've found nothing helpful on google, the mailing list
archives, hints or wiki's either in CLFS or LFS. Since I haven't found
any correspondence on this subject in the archives, I'm assuming that
there must be something wrong in the way I have applied the bootscripts
or setup my configuration.
My final installation is this: dhcp-3.1.0, dhcp init script and dhclient
service.
If anyone has a configuration using dhclient, I would appreciate your
sharing it with me so I can try it. I would also be grateful for any
additions, deletions or edits to my current situation.
If it's relevant, I do have Network packet filtering configured for the
kernel. I have no clue whether this helps, hinders or is neutral.
Thanks for wading through this.
Dan
More information about the Clfs-support
mailing list