LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2009, 06:16 PM   #31
sms0611
LQ Newbie
 
Registered: Feb 2009
Location: Costa del Sol, Spain
Distribution: Ubuntu 8.04 (Hardy)
Posts: 11

Rep: Reputation: 0

Thanks for the quick response

Yes it is but as follows

127.0.0.1 localhost
127.0.1.1 smsmac.MSHOME

I'm guessing that the IP address on line 2 is incorrect

Not sure I know how to fix it but will try.

Any pointers welcome

Done an ifconfig

shows inet addr IP and a Bcast IP
which one should I use?

Last edited by sms0611; 02-24-2009 at 06:20 PM. Reason: Adding more info
 
Old 02-24-2009, 06:20 PM   #32
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 50

Rep: Reputation: 18
/sbin/ifconfig should show your real ip address.
 
Old 02-24-2009, 06:22 PM   #33
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 50

Rep: Reputation: 18
If you are using DHCP for your local address it would be easier to assign a static IP address.
 
Old 02-24-2009, 06:31 PM   #34
sms0611
LQ Newbie
 
Registered: Feb 2009
Location: Costa del Sol, Spain
Distribution: Ubuntu 8.04 (Hardy)
Posts: 11

Rep: Reputation: 0
I am using DCHP

am now rebooting using the Bcast address (the inet addr did not work)

should the name be in the form

smsmac.MSHOME i.e. computer.group
or
MSHOME.smsmac

?

Help on changing to a static address would be appreciated.
 
Old 02-24-2009, 06:35 PM   #35
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 50

Rep: Reputation: 18
Also
leave the localhost entry as is
leave off the .MSHOME or add it as a secondary name for reference eg.
192.168.1.201 smsmac smsmac.MSHOME
 
Old 02-24-2009, 06:41 PM   #36
lcole
Member
 
Registered: Aug 2003
Location: Oregon
Distribution: Ubuntu
Posts: 50

Rep: Reputation: 18
do not use the bcast address.
note the subnet mask. you will need it for the static ip.
I assume you are using a router. Determine th edynamic IP range that it uses and select an address outside of the range for any static IP's
so good so far?
 
Old 02-25-2009, 03:39 AM   #37
sms0611
LQ Newbie
 
Registered: Feb 2009
Location: Costa del Sol, Spain
Distribution: Ubuntu 8.04 (Hardy)
Posts: 11

Rep: Reputation: 0
Smile

Just the job.

Set up static IP, everything looks cool now.

Thanks for your help.

Steve
 
  


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 to connect ubuntu 7.04 to sify kamlesh raul Linux - Newbie 2 05-26-2009 10:49 PM
How do I get ubuntu to connect with my LAN? fdharden Linux - Newbie 2 07-17-2007 06:58 PM
Can seem to connect on new install Ubuntu ofrog Linux - Wireless Networking 3 04-25-2007 12:41 PM
PSP connect to Ubuntu KernelJunkie Ubuntu 4 12-29-2005 03:44 AM
connect to internet in ubuntu nancy25dec Ubuntu 13 05-01-2005 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:04 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
Open Source Consulting | Domain Registration