Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-23-2006, 07:55 PM   #1
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
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,315

Rep: Reputation: 99
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
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?)

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

Rep: Reputation: 53
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
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:
    for D in `ls -pR | grep :$ | sed '/:$/s,:$,,'`
    do cd $D
  4. You don't need 3 inner loops to kill the spaces:
    1st, do the lower casing, THEN use:
    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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration