Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2003 18:50:45 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        gcn53@vfemail.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with networking?
Message-ID:  <3EB1A4C5.4080408@potentialtech.com>
In-Reply-To: <1051828244.3eb1a01425b5a@www.vfemail.net>
References:  <1051818955.3eb17bcb36c53@www.vfemail.net> <002a01c3101f$026267e0$ca0110ac@vinyl.tkvbp.com> <1051820707.3eb182a3273f6@www.vfemail.net> <3EB183E6.7090008@potentialtech.com> <1051821497.3eb185b9e625c@www.vfemail.net> <3EB19B48.6040407@potentialtech.com> <1051828244.3eb1a01425b5a@www.vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmmm ... I'm getting the impression you don't have root access on this
machine?

gcn53@vfemail.net wrote:
> Quoting Bill Moran <wmoran@potentialtech.com>:
> 
>>gcn53@vfemail.net wrote:
>>
>>>Quoting Bill Moran <wmoran@potentialtech.com>:
>>>
>>>>I can think of a very limited number of cases where the primary IP on
>>>>an ethernet card should have the netmask you have.  Verify it.
>>>>
>>>Sorry, forgive my ignorance, but how do I "verify it"?
>>
>>I missed the earlier part of the thread, so ...
>>
>>If you were given the information by your hosting provider, verify that
>>it's correct compared to what you have in /etc/rc.conf
> 
> My hosting provider did not give me this information.

So your provider set up the machine, correct?  I would think it would then
be the hosting provider's responsibility to fix the network config if it's
not working, but I don't know the exact relationship you've worked out with
them, so I could be wrong.

I looked back and found the original email you sent.  The hard part is that
we don't know the details of the "virtual server" setup.

>>Where did you get your IP addy?  You should have been provided a netmask
>>in the same document/conversation/whatever.
> 
> The IP address was given to me by the host provider, after the virtual server
> had been set up.

And you entered it?  They should have provided a netmask as well as
a default router/gateway and DNS servers.  You need all that information
to make any sort of server work.

>>Also, based on some other replies to this thread, could you post your
>>/etc/rc.conf to the list.  It may help sort out what's up.
>>
> 
> # cat < /etc/rc.conf
> portmap_enable="NO"
> sshd_enable="YES"
> network_interfaces=""
> # -- sysinstall generated deltas -- # Fri Apr  4 14:55:26 2003
> named_enable="NO"
> hostname="graygold"

Well, you definately have no network config here.

>>Another thing you can do is simply change it to 255.255.255.0 and see if
>>things start to work.  It's possible that that number is wrong, but it
>>will break _less_ networking than using 255.255.255.255, so you'll be
>>able to tell if you're on the right track or not:
>>
>>ifconfig fxp0 netmask 255.255.255.0
> 
> # ifconfig fxp0 netmask 255.255.255.0
> ifconfig: ioctl (SIOCAIFADDR): permission denied

You'll need to do this as root.  Do you have root access?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB1A4C5.4080408>