Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2008, 10:37 PM
darthSam darthSam is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ping `hostname` - problem
Hello guys,

I am having a problem starting my window manager, gnome or KDE. startx takes hours to bring up and once up they are so slow they are unusable.

The FreeBSD FAQ says, this is as a result of an incorrect hostname setting in /etc/hosts. http://www.freebsd.org/gnome/docs/faq2.html#q20

But setting up my hostname as the document has recommended, I am still getting the same problem.
Code:
# ping `hostname`
PING localhost (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
...

   or

# ping 127.0.0.1
PING localhost (127.0.0.1): 56 data bytes
ping: sendto: Can't assign requested address
ping: sendto: Can't assign requested address
...

My current configurations is as follows (after making the changes):

/etc/hosts (note: the line, '::1...' was there and I left it as it was):
Code:
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain duffy duffy.toons
/etc/rc.conf:
Code:
hostname=duffy.toons
network_interfaces=vge0
ifconfig_vge0=dhcp

Also, I read somewhere this could be a problem with the firewall setup, but checking for IP forewarding indicate that I don't have that:

Code:
# ipfw list
ipfw: getsockop(IP_FW_GET): Protocal not available
Anyone have an idea on what I am doing wrong with my local host setup? Also, I have no problem accessing outside sites as follows or though a website:
Code:
ping www.yahoo.com
Any help would be greatly appreciate it.

Thank you
sam
Reply With Quote
  #2  
Old 12-05-2008, 11:14 PM
darthSam darthSam is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: ping `hostname` - problem
Man this place is dead! Not even one <Watch your lingo>ing response to even say something stupid like, "can you print dmesg/lspci/configuration?"

I guess it is time to try some semi-stable linux distribution.
Reply With Quote
  #3  
Old 12-06-2008, 07:41 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: ping `hostname` - problem
It's not like people here get paid, to do nothing but monitor the forum, for your topics, at the expense of all others.
Reply With Quote
  #4  
Old 12-07-2008, 06:13 PM
darthSam darthSam is offline
Junior Member
 
Join Date: Nov 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: ping `hostname` - problem
Sorry for showing some frustration, but I do not mean to suggest that the volunteering community wait on me - I do know how the open community works.

It is just that I have had this problem for well over six months and I have searched all over the internet and tried everything there is to try and this directly asking on the forum was my last straw. Sorry again!
Reply With Quote
  #5  
Old 12-07-2008, 10:23 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: ping `hostname` - problem
I know frustration quite well; one of my PC's have even been punched on occasion ;-)

if it is any help to you:

Code:
Terry@dixie$ ping `hostname`                                              22:42
PING dixie.launchmodem.com (192.168.1.nnn): 56 data bytes
64 bytes from 192.168.1.nnn: icmp_seq=0 ttl=64 time=0.081 ms
64 bytes from 192.168.1.nnn: icmp_seq=1 ttl=64 time=0.051 ms
^C
--- dixie.launchmodem.com ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.051/0.066/0.081/0.015 ms
Terry@dixie$ ping 127.0.0.1   # localhost                                 23:06
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.049 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.047 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.049 ms
^C
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.047/0.048/0.049/0.001 ms
Terry@dixie$                                                              23:07

/etc/hosts:
Code:
127.0.0.1       localhost
192.168.1.xxx   launchmodem.com
192.168.1.mmm   vectra.launchmodem.com vectra
192.168.1.nnn   dixie.launchmodem.com dixie
localhost is the machines loopback, dixie is this machines address on the LAN.


/etc/rc.conf:
Code:
hostname="dixie.launchmodem.com"


The '::1 localhost localhost.my.domain' line in your /etc/hosts just maps the names to your loopback (lo0) interface for IPv6; ::1 and 0:0:0:0:0:0:0:1 are equivalent, and basically like 127.0.0.1 IPv4


I'm not familiar with ipfw, like PC-BSD out of box: I use pf on my systems.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing hostname birdman General Questions 3 11-09-2008 11:57 PM
Can't ping my network. SOLVED Clanman Networking 10 08-31-2007 10:20 PM
Can ping but not connect jgarbo Networking 5 01-12-2007 03:21 AM
Scan for bad blocks during install? + hostname brianwc Installing PC-BSD 9 06-06-2006 06:33 AM
Changing the hostname lazyilmaz General Questions 3 07-12-2005 03:16 PM


All times are GMT. The time now is 07:34 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.