LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-23-2006, 07:55 PM   #1
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 84

Rep: Reputation: 15
Unhappy Improper Net config






Everytime I re-boot I have to re-configure my Network connection via wizard. Everything is there: my IP address, hardware, etc. But the config. is lost everytime I re-boot.

The message is: Could not look up Internet address for SBC. This will prevent GNOME from operating correctly. Add SBC to the file /etc/hosts

Re Add SBC to the file /etc/hosts

I don't have any idea how to do this. Please list exact steps raather than generic solution. Thanks. Add SBC to the file /etc/hosts
 
Old 04-24-2006, 02:47 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,314

Rep: Reputation: 98
I'm not 100% clear on what keeps getting erased, however, if you have not yet edited the hosts file, I would open up the hosts file in a editor such as nano, the add the SBC entry, I'm not sure what you'll have to type as I am not familiar with your netonfig and what information you have to enter
 
Old 04-24-2006, 06:50 PM   #3
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 84

Original Poster
Rep: Reputation: 15
Re Add SBC to the file /etc/hosts

I don't know what's being lost when I re-boot either, but I also don't understand your recommendation re: above.

I am a newbie starting with GNOME. I don't know anything about the text editor nano or how to use it. Or how to fine file /etc/hosts

Could you give me some concrete steps for finding the latter as well as opening nano (Is it in GNOME?)

Thanks.
 
Old 04-24-2006, 07:39 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Nano is a CLI editor. You can use any text editor to edit config files.

su to root, go to /etc find and open the hosts file with a text editor add SBC to it and save


Even easier in Gnome is to use the system>Administration>Networking GUI tool. click on the Hosts tab and enter the information.

Last edited by masonm; 04-24-2006 at 10:26 PM.
 
Old 04-24-2006, 08:20 PM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Scripting Notes

  1. jschwial's suggestion about mv "$i" "${i//[ \!,:]/_}" is especially good
  2. My personal preference is to indent w/ 2, 3, or 4 spaces, not tabs -- things are more readable.
  3. ls -pR | grep :$ | sed '/:$/s,:$,,' will give you a recursive list of sub directories suitable for the outer loop:
    Code:
    for D in `ls -pR | grep :$ | sed '/:$/s,:$,,'`
    do cd $D
    ...
    done
  4. You don't need 3 inner loops to kill the spaces:
    1st, do the lower casing, THEN use:
    Code:
    for i in *.{mp3,ogg}; do mv "$i" ...
  5. I think there is an easier way to do the lower casing also, but it escapes me right now.
 
  


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
Net Card Config ORiGiNAl-SiN Slackware 3 05-12-2005 03:07 PM
net config regnier Linux - Networking 5 02-11-2005 09:34 AM
net config regnier Mandriva 9 02-11-2005 08:34 AM
net config webcast Linux - Networking 1 08-23-2004 11:53 AM
Net Config RUN Linux - General 4 07-16-2002 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration