How do you setup the internet on Ubtunto?

gamepad

Golden Member
Jul 28, 2005
1,893
1
71
My friend installed Ubunto on an extra hard drive. The internet (cable) was working fine on Windows, but After installing Ubuntu, we can't get a connection. Shouldn't the internet automatically work? Help some linux noobs get the internet working! :eek:

Update: We typed the command "sudo pppoeconf" in the terminal to configure the broadband connection, but it says:

"Sorry, I scanned 2 interfaces, but the Access Concentrator of your provider did not respond. Please check your network and modem cables. Another reason for the scan failure may also be another running pppoe process which controls the modem."

*Fixed*

He reinstalled Ubuntu and his internet started working.
 

gamepad

Golden Member
Jul 28, 2005
1,893
1
71
Originally posted by: stupidkid
What does sudo ifconfig -a return?

It asks for a password. When the administrator password is entered, it says:

eth0 Link encap:Ethernet HWaddr 00:13:8F:55:3A:1F
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 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:17 Base address:0xe800

eth0:avah Link encap:Ethernet HWaddr 00:13:8F:55:3A:1F
inet addr:169.254.3.180 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0xe800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1332 (1.3 KiB) TX bytes:1332 (1.3 KiB)

 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,257
3,855
75
inet addr:169.254.3.180

I do believe that means your machine doesn't know its address. (At least it would mean that in Windows.) This could get a little ugly.

Normally, I would expect your cable modem to have a "DHCP server" available to be turned on. If you can do that, your Linux machine should see the internet fine - but you probably need an IP address to access the cable modem! If you can still boot to Windows, you can change it from there. Otherwise, here's a howto on static IP addressing in Linux