Results 1 to 10 of 35
Hi,
I have a problem with a Linux Box I'm trying to setup the following way:
ath0: wireless card. dhcp. works fine.
eth0: static. works fine.
eth1: dhcp. Connected to ...
- 12-07-2010 #1Just Joined!
- Join Date
- May 2009
- Posts
- 72
eth1 intermittently working
Hi,
I have a problem with a Linux Box I'm trying to setup the following way:
ath0: wireless card. dhcp. works fine.
eth0: static. works fine.
eth1: dhcp. Connected to a router. Sometimes works sometimes not.
It will occasionally recuperate an ip address sometimes not.
If I run 'ifup eth1' it will sometimes work sometimes not. If it fails it will say 'Failed to bring up eth1'.
I'm not to familiar with networking. Can someone point me in the right direction?
Thank you.
- 12-08-2010 #2Just Joined!
- Join Date
- Oct 2010
- Posts
- 30
This sounds like a hardware problem.
1) Move the cable on the router.
2) Try a different cable.
3) Disable wireless via BIOS and boot Linux
4) Check for updated driver
5a) Desktop pull clean and reseat NIC card
5b) laptop give up use USB NIC
6) Replace NIC
- 12-08-2010 #3Just Joined!
- Join Date
- May 2009
- Posts
- 72
Thanks for the response:
1) It's not an actual router it's a modem with only 1 port. It did try 2 modems.
2) Done
3) No video port on my linux machine. It's a mini pc designed that way. Not sure how to access Bios. I tried removing the ath0 from the interfaces file but that didn't help.
4) Not done will have to do that
5) and 6) The NIC is onboard. I do have 2 ethernet ports on it so I suppose I could try with the one. This is the only board I have so can't really try another one at the moment.
- 12-09-2010 #4Just Joined!
- Join Date
- May 2009
- Posts
- 72
I tried switching ethernet port with same results
- 12-09-2010 #5Just Joined!
- Join Date
- Oct 2010
- Posts
- 30
Post interface config.
7) Does the modem also handle wireless? If so skip, if not check power cord
and phone line.
8.) Move to know good network and test ethernet.
9) Check the specs of the unit's nic for known problems, update driver.
10)Check system logs for clues, ie intermittent loading of eht1.
11)If possible RMA unit.
12)Install test nic.
- 12-09-2010 #6Just Joined!
- Join Date
- May 2009
- Posts
- 72
The modem is wireless only.
I'll look at the logs.
- 12-09-2010 #7Just Joined!
- Join Date
- Oct 2010
- Posts
- 30
So your modem is wireless except for one ethernet connection?
Did it come with its own cables?
Does it have a usb port with cable?
Does the directions call for a crossover cable for the ethernet connection?
Post /etc/network/interfaces.
8.) Move to know good network and test ethernet.
9) Check the specs of the unit's nic for known problems, update driver.
10)Check system logs for clues, ie intermittent loading of eht1.
11)If possible RMA unit.
12)Install test nic.
- 12-10-2010 #8Just Joined!
- Join Date
- May 2009
- Posts
- 72
Yeah there's an ethernet port, I meant it's wireless only to connect to the internet.
I got some help over here and my problem appears to be with the routing on my linux machine which also acts as a router for another machine connected to it (eth0).
Here's the interfaces file:
auto lo
iface lo inet loopback
auto ath0
iface ath0 inet dhcp
madwifi-base wifi0
wireless-mode Managed
up iwconfig ath0 essid xxxxxxxxx
up iwconfig ath0 txpower auto
up iwconfig ath0 enc off
up iwconfig ath0 rate auto
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
auto eth1
iface eth1 inet dhcp
- 12-10-2010 #9Just Joined!
- Join Date
- Oct 2010
- Posts
- 30
How is your network setup?
Internet wireless modem wire server – desktop/laptop?
Have look for errors in syslog?
grep -w dhcp /var/log/syslog
grep -w eth0 /var/log/syslog
Add to /etc/network/interfaces
auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
force dhcp renew its licence
Dhclient –r
Dhclient
Then run
ifup eth1
- 12-10-2010 #10Just Joined!
- Join Date
- May 2009
- Posts
- 72
Windows machine (static IP) wired to Linux Machine on eth0 (static) wired to Cellular Modem through eth1 (dhcp).
Windows machine is fine.
grep -w eth1 /var/log/syslog:
when getting an address:
Dec 10 10:48:48 OBLIX9999 pumpd[2779]: failed to renew lease for device eth1
Dec 10 10:48:48 OBLIX9999 pumpd[2779]: intf: device: eth1
Dec 10 10:48:48 OBLIX9999 vmunix: [ 614.565349] eth1: link up, 100Mbps, full-du
plex, lpa 0x41E1
Dec 10 10:48:48 OBLIX9999 pumpd[2779]: configured interface eth1
Dec 10 10:48:58 OBLIX9999 vmunix: [ 625.242575] eth1: no IPv6 routers present
when not getting an address:
Dec 10 10:52:18 OBLIX9999 vmunix: [ 5.397405] eth1: VIA Rhine III (Management
Adapter) at 0xe0040000, 00:0d:b9:1a:f6:45, IRQ 15.
Dec 10 10:52:18 OBLIX9999 vmunix: [ 5.398297] eth1: MII PHY found at address
1, status 0x786d advertising 05e1 Link 41e1.
Dec 10 10:52:18 OBLIX9999 vmunix: [ 40.871150] eth1: link up, 100Mbps, full-du
plex, lpa 0x41E1
Dec 10 10:52:18 OBLIX9999 vmunix: [ 50.750591] eth1: no IPv6 routers present
Nothing much for grep -w dhcp /var/log/syslog


Reply With Quote
