UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
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.
I have an odd problem that I can fix but that comes back with every re-boot and is very annoying. You see when I boot up my computer my wireless card is ready and everything but I have to manually go into settings and make the default with every re-boot. Now the problems I had in windows were even worse but
this tops my linux problems. Please help! Also please simplify it because I am new to ubuntu.
torger@ubuntu:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth1
# The primary network interface
iface eth1 inet dhcp
# wireless-* options are implemented by the wireless-tools package
wireless-mode managed
wireless-essid linksys
You have 2 interfaces defined with dhcp in your interfaces file.
It looks like eth1 is your wireless card. (connected to a router?)
What is eth0 trying to connect to? Is it just a networkcard you don't
want to use at all?
If yes, try this (instead of using your network-config-tool):
ifdown eth0
ifdown eth1
ifup eth1
does that work?
If yes, and if you don't use eth0, remove these 2 lines from your interfaces file:
iface eth0 inet dhcp
auto eth0
I had a similar problem with 5.04 & 5.10. I don't use the wired 10/100 ethernet, so I use the graphical net-config tool to uncheck the "Device is configured" box for all network interfaces that I do not want to use. I made my wireless NIC my default gateway (all this as a sudo'er, of course), and after that no more problems. Using the CLI is probably the most reliable method, but if it works, use it!
Is this a diffrent net config tool because in the one I use when I unconfigure everything except the wireless they just get auto configured and come back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.