Jump to content

weird DHCP problem on 2005LE [solved]


penfield
 Share

Recommended Posts

OK, I've found something else that may help:

 

First off, go back into HardDrake, and we'll set to choose DHCP instead of the Manual Configuration we've gone with so far. Afterwards, check /etc/sysconfig/network-scripts/ifcfg-eth0 to make sure the settings are:

 

DEVICE=eth0
BOOTPROTO=dhcp
onBOOT=yes
METRIC=
IPADDR=
SUBNET=
GATEWAY=
HWADDR=
DHCP_HOSTNAME=
NEEDHOSTNAME=

 

Then check /etc/resolv.conf and make sure this is clear of DNS server settings. Just edit, and place a # in front of any DNS servers listed. Do the same for /etc/dhclient.conf

 

Also, just do a lspci (LSPCI), to make sure your card is recognised fully by the system.

 

Then reboot, and see if that resolves the problem. If not, do a dhclient eth0 and post back the results, along with ifconfig as well.

Link to comment
Share on other sites

  • Replies 41
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I have a little update.

I rebooted the machine, then I tried to ping 192.168.1.10 and it answered. Then I did a config -a and now it says under eth0:

inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0

 

Which I think is kind of weird, since I have changed nothing.

Link to comment
Share on other sites

I tried to change it back to dhcp, no hassle there, but when I look in /etc/sysconfig/network-scripts/ifcfg-eth0 it shows

DEVICE=eth0
BOOTPROTO=DHCP
IPADDR=192.168.1.10
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=NO
USERCTL=no
DHCP_CLIENT=dhclient
PEERDNS=yes
PEERPYP=no
PEERNTPD=no

I even did it after a reboot...

Link to comment
Share on other sites

OK, edit the file ifcfg-eth0, and match it to what I posted before in the section on DHCP. It seems it's not clearing for some reason.

Edited by ianw1974
Link to comment
Share on other sites

Ok I changed it back to dhcp and did a "dhclient eth0" and the response was:

sit0: unknown hardware at address type 776

SIOCSIFFLAGS: function not implemented

SIOCSIFFLAGS: function not implemented

sit0: unknown hardware at address type 776

Listening on LPF/eth0/00:0a:e6:95:09:d0

Sending on LPF/eth0/00:0a:e6:95:09:d0

Sending on Socket/fallback

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3

send_packet: Network is down

 

the last 2 lines repeat 6 times, and finally it says:

No DHCPOFFERS received.

No working leases in persistant database - sleeping.

 

ifconfig -a is the same as in the beginning, no address.

Link to comment
Share on other sites

OK, follow the procedure again as above, from setting to DHCP in HardDrake, and then checking the ifcfg-eth0 again, and resolv.conf, etc, etc, and see if we get back to where we were before?

 

Then after setting, reboot, and see if it comes up. If not, then try setting to static again, and rebooting after configuring and seeing if it comes up?

 

It's weird that we had it set to static, and changed to DHCP and then it worked, until we made a few more changes.

Link to comment
Share on other sites

It's working :D

 

Well to sum up...

I googled for that strange message "SIOCSIFFLAGS: function not implemented" and VIA Rhine II kept popping up (thats what I have), so I read a little, and came across this forum:

http://www.linuxquestions.org/questions/sh...=&postid=955852

near the bottom someone suggested to check the "force no acpi". I did just that, rebooted... And it worked, with DHCP enabled.

 

Well anyways, thank you so much ianw1974, you have been a great ally on my conquest into the linux world :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...