Network configuration in FreeBSD
Derek Ragona
derek at computinginnovations.com
Mon Jan 28 15:54:21 PST 2008
At 05:38 PM 1/28/2008, Bhuvaneswari Ramkumar wrote:
>I'm guessing it does detect the interface, network-device & all that, bcos
>my ifconfig says the ethernet status is active. But still I'm unable to do
>any kind of networking at all, even pings from other PCs to this one remain
>unreachable. I'm wondering if I should configure something else in the
>sysinstall or the rc.conf file.
>
>
>On Mon, Jan 28, 2008 at 6:18 PM, Bhuvaneswari Ramkumar <ramkumar at iastate.edu>
>wrote:
>
> > ifconfig -a
> >
> > em0: flags .......lot of data .....................
> > status: active
> >
> > ( I'm guessing this is the ethernet interface)
> >
> >
> > netstat -rn
> >
> > routing tables:
> > Internet :
> > 127.0.0.1 ..followed by some IPs, flags(UH), etc ..
> >
> > Internet6
> > expire followed by some hex-values and flags
> >
> >
> > would this do or more specifics needed ?
> >
> >
> >
> >
> > On Mon, Jan 28, 2008 at 4:42 PM, Christopher Cowart <
> > ccowart at rescomp.berkeley.edu> wrote:
> >
> > > On Mon, Jan 28, 2008 at 04:29:49PM -0500, Bhuvaneswari Ramkumar wrote:
> > > > I'm a newbie FreeBSD user, I've just installed the 5.5 version.
> > > > I know this is a very silly question but I've searched the archives
> > > and any
> > > > suggestions are welcome.
> > > >
> > > > I think my system is not connected to the internet or any external
> > > network,
> > > > ping dosent work ( nor ftp or dig)
> > > >
> > > > When I try to do a post-install configuration and choose to enable the
> > > inetd
> > > > daemon option from the sysinstall, it doesnt invoke the editor to
> > > change the
> > > > inetd.conf at all, so I did a root-login and enabled ftp, even pftp
> > > and
> > > > other services in the file as mentioned in the installation document.
> > >
> > > This file affects running an ftp server, not an ftp client from the
> > > command line.
> > >
> > > > But still I'm unable to ftp to any server, the message I get is ftp:
> > > > hostname or servname not known or not provided.
> > > >
> > > > Do you guys have any ideas ?
> > >
> > > Send the list the output of the following commands:
> > > # ifconfig -a
> > > # netstat -rn
> > >
> > > With that info, we can probably help you out better.
> > >
> > > --
> > > Chris Cowart
> > > Network Technical Lead
> > > Network & Infrastructure Services, RSSP-IT
> > > UC Berkeley
> > >
> >
> >
>__________
You need to set the default gateway in /etc/rc.conf. Without a default
gateway, you will need to add a default route with the route command.
Without a route your machine will only be able to ping itself.
-Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the freebsd-questions
mailing list