Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2008 17:53:58 -0600
From:      Derek Ragona <derek@computinginnovations.com>
To:        "Bhuvaneswari Ramkumar" <ramkumar@iastate.edu>, ccowart@rescomp.berkeley.edu, freebsd-questions@freebsd.org, bri@brianwhalen.net, nlandys@gmail.com, wojtek@wojtek.tensor.gdynia.pl
Subject:   Re: Network configuration in FreeBSD
Message-ID:  <6.0.0.22.2.20080128175226.024f3e50@mail.computinginnovations.com>
In-Reply-To: <7c7927920801281538g66f00cd5v6ebd9ff01ff3c83@mail.gmail.com >
References:  <7c7927920801281329n609abb8ah63a18f1afb56099d@mail.gmail.com> <20080128214202.GO41095@hal.rescomp.berkeley.edu> <7c7927920801281518h5adfb91dta827fcae39ebc09a@mail.gmail.com> <7c7927920801281538g66f00cd5v6ebd9ff01ff3c83@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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.




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