Issue

Jonathan Chen jonc at chen.org.nz
Tue Nov 22 00:04:18 GMT 2005


[Don't remove the Cc: freebsd-questions]

On Mon, Nov 21, 2005 at 06:00:51AM +0000, kavitha s wrote:
> 
> --- Jonathan Chen <jonc at chen.org.nz> wrote:
> 
> > On Sun, Nov 20, 2005 at 09:05:51AM +0000, kavitha s
> > wrote:
> > > hi
> > >   I have installed freeBSD in my laptop.But iam
> > unable to ping to the gateway.So icant access
> > through it.Please give me a solution to it as soon
> > as possible.

[...]
> /etc/rc.conf contence
> 
> #--sysinstall generated deltas--# thu Nov 17 00:09:13
> #enable network daemons for user convineince.
> #please make all in changes to this files.....
> #This file now contains just the ....
> defaultsrouter="192.168.15.1"
> hostname="rose"
> ifconfig_xl0="inet 192.168.15.24 netmask
> 255.255.255.0"
> ipv6_enable="YES"
> linux_enable="YES"
> mouse_enable="YES"
> mouse_type="/dev/psm0"
> moused_type="auto"
> saver="fire"
> usbd_enable="YES"
> #this.....
> #.....
> 
> ifconfig ....
> 
> plip0:
> flags=108851<UP,POINTTOPOINT,RUNNING,MULTICAST>mtu
> 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>mtu
> 16384
>    inet 127.0.0.1 netmask 0xff000000
>    inet ::1 prefixlen 128
>    inet6 fe80::1%lo prefixlen 64 scopied 0x2
> xl0: flags=8843<UP,LOOPBACK,RUNNING,MULTICAST>mtu 1500
>    options=9<RXCSUM,VLAN_MTU>
> inet192.168.15.24netmask0xff000000broadcast192.168.15.255
> inet6 fe80::201:2ff:fe79:d873%xl0prefixlen64scopied0x3
> ether 00:01:02:79:d8:73
> media: Ethernet autoselect (none)
> status: no carrier

There's your problem `no carrier'. Your card is either:

    1. dead.
    2. not plugged in
    3. has a bad cable.
    4. bad switch.

Your netmask of 0xff000000 on the ifconfig output looks dodgy as well.
It doesn't correspond to what you have in /etc/rc.conf

Cheers.
-- 
Jonathan Chen                      |      To do is to be  -- Nietzsche
<jonc at chen.org.nz>                 |      To be is to do  -- Sartre 
                                   |      Scooby do be do -- Scooby


More information about the freebsd-questions mailing list