LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-28-2009, 10:20 AM   #1
akki
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Network settings gets erased in Linux mint 5


every time i shutdown the laptop and then switch it on again the network settings gets erased completely.I have been using Linux Mint 5 for over six months and this is the first time this kind of problem has occured.the os is completely up to date.
pls help as typing all the settings always is just getting torturous
thanks
 
Old 01-30-2009, 01:37 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
Quote:
Originally Posted by akki View Post
every time i shutdown the laptop and then switch it on again the network settings gets erased completely.I have been using Linux Mint 5 for over six months and this is the first time this kind of problem has occured.the os is completely up to date.
pls help as typing all the settings always is just getting torturous
thanks
Hmm - "completely up to date"

Have you recently auto-updated your install or used some kind of package manager to "update" the system?

Quote:
pls help as typing all the settings always is just getting torturous
Ok, so you DO have networking, you only have to manually start networking services each time you boot the system?

Note that you can place any network startup commands (or any other stuff you want run each time at startup) into the file /etc/rc.local (at least, on Fedore Core 6, you can)

For example, my network startup commands are

Code:
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 10.0.0.8 netmask 255.255.255.0 broadcast 10.254.255.255 up
/sbin/route del default
/sbin/route add default gw 10.0.0.2 eth0
so, what I did was to place these commands inside my /etc/rc.local file.

So, each time my system starts, these commands are automatically executed, and I always have networking up.

I suspect that since you refer to the system "being up to date" you auto-updated at some time in the past, and this has broken your setup or some of your configuration files - which is why your system suddenly started coming up with no networking.

Note that if you auto-updated again, the above change (putting your network start commands in /etc/rc.local) might AGAIN be broken, IF the aut-update changes /etc/rc.local as part of the "auto update".

For my part, I never use any form of auto update, exactly in order to avoid problems precisely like the one you ran into... e. g. some stuff works 100%, but after an "auto update" (which is supposed to be a good thing, but usualy isn't!) some stuff usually are broken... so I NEVER do an "auto update"...
 
  


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
How do I replace Linux Mint with Suse 11.0 on PC with Win XP Mint and Ubuntu? jremsen Linux - Software 4 02-15-2009 06:54 AM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 05:37 PM
LXer: Linux Mint is.....Mint! LXer Syndicated Linux News 0 11-18-2007 06:41 AM
Linux Network Settings ChangeOfPace Linux - Networking 9 05-05-2004 08:35 AM
Network Settings Redhat Linux 8 manojkreddy Linux - Networking 2 08-05-2003 01:07 PM


All times are GMT -5. The time now is 06:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration