LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-21-2006, 06:58 AM   #1
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Rep: Reputation: 15
Unhappy Network


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.
 
Old 02-21-2006, 09:37 AM   #2
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
Have you checked your /etc/network/interfaces file?
You can set the default interface there.
 
Old 02-21-2006, 11:46 AM   #3
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
I can find it okay... but how do you change it?
 
Old 02-21-2006, 12:22 PM   #4
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
You need a text editor to changethat file.

vi
mc
gedit

sudo gedit /etc/network/interfaces

Then make the changes needed.

Last edited by brianthegreat; 02-21-2006 at 12:23 PM.
 
Old 02-21-2006, 01:02 PM   #5
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
I have the text editor but what do I change it too?
 
Old 02-21-2006, 01:19 PM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
if you do 'cat /etc/network/interfaces' and post the output, someone can aid u.
 
Old 02-21-2006, 02:09 PM   #7
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
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

auto eth1


iface eth0 inet dhcp

auto eth0
torger@ubuntu:~$
 
Old 02-22-2006, 01:28 AM   #8
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
Torger, what exactly is your workaround? What do you do after you reboot to make it work?
 
Old 02-22-2006, 02:21 PM   #9
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
I fiddle around in network options and change it to the default connection but when I save the settings it takes 5 minutes to finish saving them.
 
Old 02-23-2006, 01:40 AM   #10
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
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
 
Old 02-23-2006, 02:28 PM   #11
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
What you say is correct but I can't change the write permmisions and i'm using the only account.
 
Old 02-23-2006, 02:30 PM   #12
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
Can you give me something to use in the terminal? or a way to change write permmisions?
 
Old 02-23-2006, 02:50 PM   #13
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
Ok I changed and saved and when I re-open the changes are there. But when I reboot it deletes the changes.
 
Old 02-25-2006, 04:46 AM   #14
fatboysmith
LQ Newbie
 
Registered: May 2003
Location: Silver Creek, GA
Distribution: Ubuntu
Posts: 10

Rep: Reputation: 0
net-config-tool

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!

Dennis
 
Old 02-25-2006, 07:52 AM   #15
torger
Member
 
Registered: Feb 2006
Distribution: Ubuntu
Posts: 137

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



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
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 12:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Network speed problems on 15 user network to broadband wireless router AntWarrior Linux - Wireless Networking 2 12-02-2004 11:05 AM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:50 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