You are not logged in.

#1 2005-02-24 05:48:14

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

dhcp fails [solved]

I'm trying to get online on my Compaq Armada M300. I'm using the e100 network module, which appears to be working fine (it says "eth0 NIC Link is Up 100 Mbps Full duplex") but then it fails with dhcp. On bootup, it responds with "no dhcp or bootp offer received".

Is dhcp computer specific or just dependent on my ISP and network setup? Because I have another laptop right here that if I take the network cable out of the Armada and put it in this one, dhcp works fine. For what it's worth, I'm plugging straight into a cable modem and that's it.

I'm not sure what to do to resolve this and trying to google was very quickly over my head. Can anyone please help?

/etc/rc.conf

MODULES=(!usbserial !ide-scsi e100)

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)

gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

I am a gated community.

Offline

#2 2005-02-24 10:29:37

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: dhcp fails [solved]

well, you rc.conf is ok!

Offline

#3 2005-02-24 14:02:09

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: dhcp fails [solved]

DHCP is a protocol for broadcasting network information to computers on the network: it saves you the hassle of manually configuring every computer that's connected to the network. In stead, computers on the network get the correct information (IP, gateway, DNS-servers) from the DHCP server.
Obviously, you have to have a DHCP server on your LAN before you can use DHCP. Nowadays, ISP's always work with DHCP (apart from professional connections with static IP's).
I'm guessing you've got a router behind your modem to share your internet connection, make sure the router has a DHCP server and that it's enabled.

Change your /etc/rc.conf like this:

MODULES=(!usbserial !ide-scsi e100)

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)

#gateway="default gw 192.168.0.1"
#ROUTES=(!gateway)

A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#4 2005-02-24 19:43:32

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: dhcp fails [solved]

Thanks for the information FUBAR, but nope, as I said I'm going straight to a cable modem and that's it. No router.

When the laptop had windows on it, I was getting a similar (the same?) problem. I'd plug in the cable, Windows would say that I was connected, but every packet that was being sent out wasn't being received. I didn't bother with it too much because I was planning on installing linux.

I've also tried two different ethernet cables, both of which work fine on my other laptop.

This is starting to sound like a physical problem with my laptop's ethernet jack, isn't it?  :?


I am a gated community.

Offline

#5 2005-02-24 19:56:28

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: dhcp fails [solved]

stonecrest wrote:

Thanks for the information FUBAR, but nope, as I said I'm going straight to a cable modem and that's it. No router.

When the laptop had windows on it, I was getting a similar (the same?) problem. I'd plug in the cable, Windows would say that I was connected, but every packet that was being sent out wasn't being received. I didn't bother with it too much because I was planning on installing linux.

I've also tried two different ethernet cables, both of which work fine on my other laptop.

This is starting to sound like a physical problem with my laptop's ethernet jack, isn't it?  :?

I'd check the documentation from the ISP - are you sure you registered and set things up properly?
When I had comcast cable internet, I had to run some CD install to register my account before anything worked...

Offline

#6 2005-02-25 02:43:59

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: dhcp fails [solved]

I called up my ISP, they said there's nothing to install (which is what I was 99% sure of). I also contacted the ebay seller (he's a powerseller with great feedback, not some random guy), and he said that he tested it and made sure it could connect to LAN.

This is so unbelievably frustrating.. and I'm running out of ideas. :?


I am a gated community.

Offline

#7 2005-02-25 02:45:17

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: dhcp fails [solved]

just curious, what is in your daemons list?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#8 2005-02-25 05:11:24

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: dhcp fails [solved]

Okay, the problem has been resolved!  :oops:

I ended up calling my ISP yet again and got someone much more helpful. This sounds like hogwash to me but it did work.. according to the guy, switching from one computer to another causes the circuitbreaker in the cable modem to trip. After I unplugged the modem for 2 minutes and plugged it back in, my ethernet connection amazingly worked. So everytime I switch computers, I have to unplug my cable modem. Have I been living under a rock for the past few years or is this normal practice??

Anyway, I'm just so relieved to have a working internet connection. After that hitch, I'm up and running Xfce on Arch on this old Armada M300 8)


I am a gated community.

Offline

#9 2005-02-25 10:45:21

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: dhcp fails [solved]

stonecrest wrote:

Okay, the problem has been resolved!  :oops:

I ended up calling my ISP yet again and got someone much more helpful. This sounds like hogwash to me but it did work.. according to the guy, switching from one computer to another causes the circuitbreaker in the cable modem to trip. After I unplugged the modem for 2 minutes and plugged it back in, my ethernet connection amazingly worked. So everytime I switch computers, I have to unplug my cable modem. Have I been living under a rock for the past few years or is this normal practice??

Anyway, I'm just so relieved to have a working internet connection. After that hitch, I'm up and running Xfce on Arch on this old Armada M300 8)

Ah yes, you have a crappy modem! tongue I used to work at the helpdesk of a cable ISP and that's the first thing you have to do when you're having connection problems: unplug the modem for at least 10 seconds.

When you switch computers, try releasing the IP before you disconnect the LAN-cable. If you then request an IP on the newly connected PC, it should work fine without having to reset the modem. Of course, this was the case with our modems and I don't know if it's true with your kind of modem. Try it out!


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#10 2005-02-26 00:12:47

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: dhcp fails [solved]

FUBAR wrote:

Ah yes, you have a crappy modem! tongue I used to work at the helpdesk of a cable ISP and that's the first thing you have to do when you're having connection problems: unplug the modem for at least 10 seconds.

hehe tongue I have done this in the past but it's awfully hard to realize that the cable modem is the problem when you can take the ethernet cable from the non-working machine, plug it into your other machine, and have a perfectly working connection. But from now on, this is the first thing I'm going to try wink


I am a gated community.

Offline

Board footer

Powered by FluxBB