You are not logged in.

#1 2008-08-16 15:41:08

RAH
Member
Registered: 2008-06-20
Posts: 205

[SOLVED] Internet Connection Via USB

Hello,

I have got this working before however forget how.

I need to get internet working via a direct ethernet connection from a router.

/etc/rc.conf:

eth0="dhcp"
INTEFACES=(eth0)



/etc/rc.d/network restart

Hangs on busy then gives this error:

err, eth0: timed out
warn, eth0: using IPV4LL address 169.254.200.182

Any ideas?

Thanks.

Last edited by RAH (2008-08-16 18:14:59)

Offline

#2 2008-08-16 16:08:08

kett
Member
Registered: 2008-04-21
Posts: 104

Re: [SOLVED] Internet Connection Via USB

Is everything plugged in?  I know it's a silly question, but that's exactly what happened to me just a few weeks ago setting up a router.

Alternatively, are you sure that the router has DHCP turned on?

Last, you might want to make sure the gateway isn't set and restart your computer and try again.

Offline

#3 2008-08-16 16:10:57

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Internet Connection Via USB

Everything is connected and works fine in Vista.  DHCP is definitely enabled.

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

Is that right?

Offline

#4 2008-08-16 16:41:29

mfolnovic
Member
From: Zagreb, Croatia
Registered: 2008-01-03
Posts: 104

Re: [SOLVED] Internet Connection Via USB

ifconfig output?

Offline

#5 2008-08-16 16:59:20

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Internet Connection Via USB

OK, just copied this down from the other PC screen so hope it's accurate enough.

eth0
Link encap:Ethernet HWaddr 00:16:17:9C:72:E7
inet addr:169.254.200.182 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST  MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt: 23 Base address:0xf200

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX vytes:0 (0.0 b)

Offline

#6 2008-08-16 17:30:02

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Internet Connection Via USB

Ah - this particular PC has LAN ports which I previously identified as being broken and installed an "DM9601 USB to Fast Ethernet Adapter" which basically provides LAN through a USB port.  Now to get this working with Arch Linux...

Offline

#7 2008-08-16 18:07:04

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Internet Connection Via USB

Under ifconfig usb0 is showing up, however ifconfig usb0 up seems to have no effect.

Any ideas how to get this USB internet connection working?  Perhaps it would be easier using wireless?

I'm going to edit the thread title to clarify this issue.

Offline

#8 2008-08-16 18:14:31

RAH
Member
Registered: 2008-06-20
Posts: 205

Re: [SOLVED] Internet Connection Via USB

Got it solved - swapped eth0 for usb0 for two occurances in /etc/rc.conf - lucky, this could have been a lot more complicated.

Offline

Board footer

Powered by FluxBB