Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-04-2014, 08:29 AM
|
#1
|
LQ Newbie
Registered: Dec 2011
Posts: 15
Rep:
|
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
|
|
|
07-04-2014, 10:37 AM
|
#2
|
Member
Registered: Sep 2010
Posts: 275
Rep:
|
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
|
|
|
07-04-2014, 01:30 PM
|
#3
|
LQ Newbie
Registered: Dec 2011
Posts: 15
Original Poster
Rep:
|
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.
|
|
|
07-07-2014, 06:18 AM
|
#4
|
LQ Newbie
Registered: Dec 2011
Posts: 15
Original Poster
Rep:
|
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
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
|
|
|
|
07-07-2014, 03:15 PM
|
#5
|
Moderator
Registered: Mar 2008
Posts: 22,130
|
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.
|
|
|
07-07-2014, 03:36 PM
|
#6
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
|
|
|
07-08-2014, 03:52 AM
|
#7
|
LQ Newbie
Registered: Dec 2011
Posts: 15
Original Poster
Rep:
|
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
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.
|
|
|
|
07-08-2014, 11:14 AM
|
#8
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Quote:
Originally Posted by jefro
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.
|
|
|
07-08-2014, 03:53 PM
|
#9
|
Moderator
Registered: Mar 2008
Posts: 22,130
|
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.
|
|
|
07-09-2014, 06:47 AM
|
#10
|
LQ Newbie
Registered: Dec 2011
Posts: 15
Original Poster
Rep:
|
Whelp... no matter what i try. This issue still persists.
It looks like imma have to reinstall Ubuntu. Kitty is sad.
|
|
|
07-09-2014, 04:07 PM
|
#11
|
Moderator
Registered: Mar 2008
Posts: 22,130
|
Make a usb flash install and see what happens.
|
|
|
All times are GMT -5. The time now is 07:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|