LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2014, 08:29 AM   #1
mcai8rw2
LQ Newbie
 
Registered: Dec 2011
Posts: 15

Rep: Reputation: Disabled
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
 
Old 07-04-2014, 10:37 AM   #2
baldur_1
Member
 
Registered: Sep 2010
Posts: 275

Rep: Reputation: 28
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
 
Old 07-04-2014, 01:30 PM   #3
mcai8rw2
LQ Newbie
 
Registered: Dec 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-07-2014, 06:18 AM   #4
mcai8rw2
LQ Newbie
 
Registered: Dec 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
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 View Post
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
 
Old 07-07-2014, 03:15 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
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.

Last edited by jefro; 07-07-2014 at 03:17 PM.
 
Old 07-07-2014, 03:36 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://www.cyberciti.biz/faq/howto-l...ed-using-udev/
 
Old 07-08-2014, 03:52 AM   #7
mcai8rw2
LQ Newbie
 
Registered: Dec 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
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 View Post
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.
 
Old 07-08-2014, 11:14 AM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by jefro View Post
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.

Last edited by suicidaleggroll; 07-08-2014 at 11:15 AM.
 
Old 07-08-2014, 03:53 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
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.
 
Old 07-09-2014, 06:47 AM   #10
mcai8rw2
LQ Newbie
 
Registered: Dec 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Whelp... no matter what i try. This issue still persists.

It looks like imma have to reinstall Ubuntu. Kitty is sad.
 
Old 07-09-2014, 04:07 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Make a usb flash install and see what happens.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Connman borked my Network cov Linux - Networking 3 07-18-2012 03:50 PM
[SOLVED] Network eth0 activated upon boot in ifcfg-eth0; but no network connection after login TomRaaijmakers Linux - Networking 1 06-17-2010 08:29 AM
lost networking after renaming network interfaces rjickity Linux - Newbie 8 07-05-2009 09:55 AM
Renaming eth1 to eth0 jonnyhashem Linux - Networking 8 01-16-2006 04:54 AM
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration