no dhcp connection

You have a problem with Salix? Post here and we'll do what we can to help.
linuxfun
Posts: 19
Joined: 18. Mar 2010, 00:45

no dhcp connection

Post by linuxfun »

Hello, to everyone. I was enjoying your distro for 2 days, and everything seemed to work very well, until last night, now I cannot connect to the internet at all. I am using the newest 64bit version, did a full install on a clean partition and was impressed with everything. Sound worked, printer configured easily (after I got HPLIP) Nvidia card working, all was well. Then, I decided to d/l one of my favorite games, frozen bubbles..played that awhile and went to bed. Today , net connection is gone, reboot, DHCP times out rather quickly , unable to obtain lease. Boot message says something about 'dhcp-conf =generic, file does not exist'.
I fear that installing the game might have goofed something. Other distros and windows OS still working fine. Cannot find a tool besides the old slackware 'netconfig' to use, to remedy this. The 'wireless' tool also mentions 'wired' connections but it also seems to time out quickly, like 20seconds before obtaining a dhcp lease. I'm at a loss here. Re-installed Salix , reformatted partition, reinstalled again, results are the same. ISO md5'd ok, and my install-disk seems fine, no scratches. Any ideas appreciated, I want to get Salix64 back. It's very nice..
edit to add: IT might help to mention, I am not using wireless, regular ADSL connection using DHCP. Athlon x2 4200, 3g DDR2, Asus M2R32=MBP m/board.
linuxfun
Posts: 19
Joined: 18. Mar 2010, 00:45

Re: no dhcp connection

Post by linuxfun »

linuxfun wrote:Hello, to everyone. I was enjoying your distro for 2 days, and everything seemed to work very well, until last night, now I cannot connect to the internet at all. I am using the newest 64bit version, did a full install on a clean partition and was impressed with everything. Sound worked, printer configured easily (after I got HPLIP) Nvidia card working, all was well. Then, I decided to d/l one of my favorite games, frozen bubbles..played that awhile and went to bed. Today , net connection is gone, reboot, DHCP times out rather quickly , unable to obtain lease. Boot message says something about 'dhcp-conf =generic, file does not exist'.
I fear that installing the game might have goofed something. Other distros and windows OS still working fine. Cannot find a tool besides the old slackware 'netconfig' to use, to remedy this. The 'wireless' tool also mentions 'wired' connections but it also seems to time out quickly, like 20seconds before obtaining a dhcp lease. I'm at a loss here. Re-installed Salix , reformatted partition, reinstalled again, results are the same. ISO md5'd ok, and my install-disk seems fine, no scratches. Any ideas appreciated, I want to get Salix64 back. It's very nice..
edit to add: IT might help to mention, I am not using wireless, regular ADSL connection using DHCP. Athlon x2 4200, 3g DDR2, Asus M2R32=MBP m/board.
Ok, I am back up and running, and have no idea what happened. Maybe it was a server problem with my DSL provider. Sorry for the long-winded post. Now I can go back to updating files again!
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: no dhcp connection

Post by thenktor »

Just because I'm interested. What is your connection?
ISP -> ADSL -> router -> PC
ISP -> ADSL -> modem -> PC

Because I'm not sure where exactly DHCP is placed at your side.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
linuxfun
Posts: 19
Joined: 18. Mar 2010, 00:45

Re: no dhcp connection

Post by linuxfun »

Sorry for the delay......I have no router, no other machines connected to internet. Just dsl, dsl modem to computer.
Itš lost its "lease" again apparently, right now I'm typing from Austrumi Live cd. I like this Salix, but I wish I could figure out why it loses its connection so easily. If I reboot into another distro on my hd, and come back 10-15minutes later>"Unable to connect to www.yahoo.com, etc" and it will not pick up the connection again, regardless of what Ive done so far. I try using the wicd program, disconnect, reconnect and it never works. Sometimes the "connect" button in that program will only flash a half second of 'ļooking for lease'and that part disables. Other times it works, but times out after 20-30 seconds without getting the lease. My ISP says use dhcp, so thats what I setup on the interface. Most of the time it works a-ok and connects during bootup. Other times though, once it loses its lease, it seems done for, for a couple of hours or more. Read all the stuff about dhcp from the man pages but its so far over my head its no help.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: no dhcp connection

Post by gapan »

How do you connect to your dsl modem? Using ethernet? If so, what kind of ethernet controller do you have?
Image
Image
linuxfun
Posts: 19
Joined: 18. Mar 2010, 00:45

Re: no dhcp connection

Post by linuxfun »

This motherboard has on-board LAN, Marvell Gigabet 88E8001 ethernet controller. I also have a pci card ethernet adapter ADMTek NC100 Network Everywhere 10/100 card. Both are recognized during the hardware detection, modules load for both, even though Im only using the built-in Gigabet adapter in Salix. Ive also tried connecting to the pci-card ethernet adapter with same results. Still have no internet in Salix, during bootup I can watch the "Polling for DHCP lease........" it only pauses about 5seconds before it next says, ņo lease found, and something about falling back to the IPV4 something (that default IP of 169.XXX XXX).
Im about to re-install, I think. Beginning to suspect something got updated that shouldn't have been..
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: no dhcp connection

Post by gapan »

You should try to use a valid static IP in your LAN then. The 169.xxx.xxx.xxx ip you get means that dhcp is not functioning properly. You ISP has told you to use DHCP, but that is meant for your internet connection, not your local network.
Image
Image
linuxfun
Posts: 19
Joined: 18. Mar 2010, 00:45

Re: no dhcp connection

Post by linuxfun »

Gapan, I don't understand what you mean>I thought the internet connection was all I have, I have no home network that I know of. Just one computer connected to the dsl modem. Maybe a difference in how you define it? Anyway, of course I have already tried that, but it is possible I have not been using valid IP numbers (as they tend to change) . Tonite I have some new #s that a different distro showed me while booting, so I will try them. Seems strange that I can get Puppy Linux, Austrumi, and the newest Parted Magic to load and immediately find/configure my internet, but many others do not (MCN Live, /SystemRescue CD, etc). And better yet>how those same distros will show the correct IPs and say čonfigured, lease obtained, etc during boot, but not have them when the OS is completely booted up. How the heck do they lose the info? I have a lot to learn.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: no dhcp connection

Post by gapan »

linuxfun wrote:Just one computer connected to the dsl modem.
That's a local network.
linuxfun wrote:Seems strange that I can get Puppy Linux, Austrumi, and the newest Parted Magic to load and immediately find/configure my internet, but many others do not
Different kernel versions could be the reason.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: no dhcp connection

Post by thenktor »

You are obviously talking with wrong terms:
A DSL modem won't give IP's over DHCP (at least I don't know any ISP that uses such a thing. Where do you come from and what's your ISP?). A DSL modem usually is driven by PPPoE, that means the PC handles the login process to your ISP by a username/password thing.
What you have seems to be some kind of Router with a single ethernet connection for your PC. So the login process to your provider is handled by your router and everything that is done by DHCP is that the router tells your PC what IP to use. Therefore you could use a static IP, too.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply