LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   renaming p1p5 to eth0 borked network (https://www.linuxquestions.org/questions/linux-networking-3/renaming-p1p5-to-eth0-borked-network-4175510101/)

mcai8rw2 07-04-2014 08:29 AM

renaming p1p5 to eth0 borked network
 
ok, so I wanted to rename my ethernet card in Ubuntu 14.04 from P1P5 to ETH0. I wanted to do this because p5p1 was messing with BTsync and other media programs.

I naively thought that I could do this by altering the /etc/network/interfaces file, swapping 'P1P5' for 'eth0'. I tried this. It didn't work.

So... i put /etc/network/interfaces back to how it was:

auto p5p1
iface p5p1 inet static
address 192.168.90.150
gateway 192.168.90.250
netmask 255.255.255.0
dns-nameservers 8.8.8.8

Only now... when i reboot the PC, there is no network. And to get a network I have to manually "ifconfig P5P1 up && dhclient P5P1" EVERY time.

"lspci" picks up the hardware fine, and "lshw -C network" does not day "disabled" anywhere in it.

Please can anyone help me acheive two things:

1. Get ethernet to work on reboot normally.
2. Rename ethernet connection from p1p5 to eth0 so that BTSync and "other media programs" might work again.


Thanks

baldur_1 07-04-2014 10:37 AM

the issue probably is that you did not matriculate the changes properly through out the system so network manager is not longer starting it up. to correctly make the necessary change, this looks like a good how to for that. i would follow this and it should work.

change the network card name

mcai8rw2 07-04-2014 01:30 PM

Thanks!
 
THank you for the linky - this is a work PC and its the weekend now... I will be sure to try it out on monday.

Thanks for your time.

mcai8rw2 07-07-2014 06:18 AM

Sadly this did not work.

Actually... i say "did not work", what i mean is ... the 70-persistent-net.rules file didn't contain ANYTHING except commented out lines. There were no references to network hardware.

Quote:

Originally Posted by baldur_1 (Post 5198612)
the issue probably is that you did not matriculate the changes properly through out the system so network manager is not longer starting it up. to correctly make the necessary change, this looks like a good how to for that. i would follow this and it should work.

change the network card name


jefro 07-07-2014 03:15 PM

I'd have to ask why the name messes up a bit torrent? I'm willing to bet a nickel that no application really cares about how BSD or Linux names it's connections. The rules of TCP/IP should still prevail.

Habitual 07-07-2014 03:36 PM

http://www.cyberciti.biz/faq/howto-l...ed-using-udev/

mcai8rw2 07-08-2014 03:52 AM

Hello,

Sadly i'm not gifted enough in Linux to give you the reasons why it does.... nor even if it actually does! I simply parrot what a forum moderator said on the BTSync forums.

:)

Quote:

Originally Posted by jefro (Post 5200144)
I'd have to ask why the name messes up a bit torrent? I'm willing to bet a nickel that no application really cares about how BSD or Linux names it's connections. The rules of TCP/IP should still prevail.


suicidaleggroll 07-08-2014 11:14 AM

Quote:

Originally Posted by jefro (Post 5200144)
I'd have to ask why the name messes up a bit torrent? I'm willing to bet a nickel that no application really cares about how BSD or Linux names it's connections. The rules of TCP/IP should still prevail.

I've run into several applications that break with the "new" network names. It's usually related to licensing being tied to the machine's "eth0" mac address. No "eth0", no mac, no working license. I've had to rename the network interfaces for several machines at work for this reason.

jefro 07-08-2014 03:53 PM

The problem I have is that many of these apps also work in BSD and that has been around for a while. But, you never know some details of hacks in programs.

mcai8rw2 07-09-2014 06:47 AM

Whelp... no matter what i try. This issue still persists.

It looks like imma have to reinstall Ubuntu. :( Kitty is sad.

jefro 07-09-2014 04:07 PM

Make a usb flash install and see what happens.


All times are GMT -5. The time now is 01:41 PM.