LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   ADSL broadband connection (https://www.linuxquestions.org/questions/ubuntu-63/adsl-broadband-connection-470025/)

satimis 08-02-2006 06:28 AM

ADSL broadband connection
 
Hi folks,

Ubuntu-6.06 amd64
Onboard LAN

At time of installation I have a PCI network card installed. PCI was network card eth0 and Onboard LAN eth1, the latter of which was selected as default. After discovering the onboard card can be detected and finishing installation the PCI Network was removed. Then eth0 disappeared leaving eth1 behind.

Each time starting the PC, broadband can't be connected. I have to play around on Network Tools/Device/Netstat, etc. and Networking. I have no idea how it can be fixed. But this was routine.

Please advise how to fix this problem and change eth1 to eth0. TIA

B.R.
satimis

b0uncer 08-02-2006 07:01 AM

One method would be to remove all your eth1 (and eth0) configurations, and even "remove the device from the system" like Windows-users might say. That is, delete all configurations related to your ethernet cards and let Ubuntu recognize the card again, as eth0.

I recently had to do this for a Fedora 5 machine for it's ethernet got somehow broken and I coulnd't find a solution..so I just searched over the system for any configurations for ethernet devices and removed them all, then let FC recognize the card again - and it worked. No clue why it went crazy, and that irritates me a bit..

binary_y2k2 08-02-2006 07:35 AM

look in /etc/iftab there you can change eth1 to eth0
you can find the MAC address if you have lshw installed and use the command
Code:

sudo lshw -class network
and look at the "serial:" section

satimis 08-02-2006 09:03 AM

Hi binary_y2k2,

Tks for your advice.

Quote:

look in /etc/iftab there you can change eth1 to eth0
Yes I did before.

Original:
$ cat /etc/iftab
Code:

# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.

eth0 mac 00:50:fc:6c:70:f7 arp 1
eth1 mac 00:13:d4:fe:da:87 arp 1

changed to:
$ cat /etc/iftab
Code:

# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.

# eth0 mac 00:50:fc:6c:70:f7 arp 1
eth0 mac 00:13:d4:fe:da:87 arp 1

After saving the file broadband was connected immediately. Playing a while I rebooted PC. From that moment onwards my nightmare began. Broadband can't be connected even reverting the change on /etc/iftab, playing around on;

System --> Administrator --> Networking/Network tools.

I spent more than 3 hours without a solution. The time will be sufficient reinstalling the complete Ubuntu-6.06 amd64.

There were nothing wrong on the onboard LAN, ADSL modem, ISP server, etc. because Ubuntu-6.06 amd64 Live DVD was working nicely on this box.

Finally I made my last resort. Out of my expectation broadband is now connected. Unforturnately coming to here Firefox crashed compelling me to rewrite this posting again. This time I made a draft on gedit first.

That was the whole story.


Quote:

you can find the MAC address if you have lshw installed and use the command
Code:

sudo lshw -class network
and look at the "serial:" section
I think the MAC address is on /etc/iftab.

$ sudo lshw -class network
did not print output on screen. It just blinked.

B.R.
satimis

satimis 08-02-2006 09:11 AM

Hi b0uncer,

Tks for your advice.

I would prefer reinstall the complete Ubuntu-6.06 amd64. My effort spent is solely for learning accumulating my knowledge on Ubuntu. Otherwise I don't know how many hours I'll spend to get the questioned problem solved.

B.R.
satimis


All times are GMT -5. The time now is 11:56 PM.