Newbie Question

Derek Atkins warlord at MIT.EDU
Thu Feb 12 16:46:54 EST 2004


<karina.popkova at verizon.net> writes:

> /etc/resolv.conf file is empty file ...
>
> route -n shows:
>
> Destination   Gateway    GenMask        Flags  Metric  Ref  UseIf
> 192.168.0.0   0.0.0.0    255.255.255.0    U      0      0    eth0
> 127.0.0.0     0.0.0.0    255.0.0.0        U      )      )    lo
>
> tell me more!

This shows that you have no default route.  That means your machine
does not know how to get out to the rest of the world.

I don't know why you didn't get a default route.

You can fix it for now with:

    route add default gw 192.168.0.1

but you might want to look into the configuration of your DHCP server
and figure out why it didn't give you a default route.

> thanks

-derek

>
>
>> 
>> From: Derek Atkins <warlord at MIT.EDU>
>> Date: 2004/02/12 Thu PM 04:09:06 EST
>> To: <karina.popkova at verizon.net>
>> CC: "Dwight A. Ernest" <dwight at significant.com>,  <discuss at blu.org>
>> Subject: Re: Newbie Question
>> 
>> <karina.popkova at verizon.net> writes:
>> 
>> > Hello
>> >
>> > /etc/resolve.conf is empty
>> 
>> Try /etc/resolv.conf (not resolve -- there is no 'e')
>> 
>> Also, what do you get from:
>> 
>>   route -n
>> 
>> > ifconfig shows:
>> > eth0 link encal:Ethr H/Ware addr 00:04:5A::A4:E0:4F
>> > inet addr: 192.168.0.11 Bcst:192.168.0.255 Mask:255.255.255.0
>> > UP Broadcast RUNNING MULTICAST MTU:1500 Metric:1
>> > Rx Pkts:25 errors:0 dropped overruns:0
>> > Tx Pkts:4 errors:0 dropped overruns:0
>> > Collision:0
>> > RXbytes:1900  TXbytes:240
>> > Intrp:3 Baseaddr:0x300
>> [snip]
>> 
>> > That's it, what am I supposed to see here ?
>> 
>> This shows that you have an IP address, you've sent 4 packets
>> and received 25, which is good.
>> 
>> > thanks
>> > -k
>> 
>> -derek
>> 
>> >> 
>> >> From: "Dwight A. Ernest" <dwight at significant.com>
>> >> Date: 2004/02/12 Thu PM 01:42:32 EST
>> >> To: karina.popkova at verizon.net
>> >> CC: discuss at blu.org
>> >> Subject: Re: Newbie Question
>> >> 
>> >> Karina,
>> >> 
>> >> Show us an output from 'netstat -rn'.
>> >> 
>> >> karina.popkova at verizon.net wrote:
>> >> 
>> >> > Hello
>> >> > 
>> >> > I have an old laptop, dual-boot
>> >> > with Win 98 and RH 7.3, both work fine ...
>> >> > 
>> >> > Just got a PCMCIA Network Card (10/100)
>> >> > for  it. Booted into Linux, router blinks,
>> >> > and dmseg checks for new hardware.
>> >> > 
>> >> > Netstat command shows connections.
>> >> > 
>> >> > Brought up Netscape (and/or Mozilla) 
>> >> > tried to connect to outside world via 
>> >> > Netscape  but get errors.
>> >> > 
>> >> > Actually, router that I am connected to,
>> >> > is on DSL, and other machine gets out to 
>> >> > Internet as normal ...
>> >> > 
>> >> > So I assume that we are almost there with Laptop???
>> >> > 
>> >> > What is wrong or needs to be configured ?
>> >> > 
>> >> > thanks
>> >> > 
>> >> > Karina
>> >> > 
>> >> > 
>> >> > _______________________________________________
>> >> > Discuss mailing list
>> >> > Discuss at blu.org
>> >> > http://www.blu.org/mailman/listinfo/discuss
>> >> 
>> >> -- 
>> >> Dwight A. Ernest, dwight at significant dot com    GPG key A6999567
>> >> Cell: +1-508-523-1416    FAX: +1-978-405-2504    YIM: dwight_ernest
>> >> RHCE #803004293310030    http://significant.com/~dwight/     KA2CNN
>> >> Papa, partner, pilot, net geek, sysadmin, consultant, cohouser.
>> >> 
>> >> 
>> >
>> >
>> > _______________________________________________
>> > Discuss mailing list
>> > Discuss at blu.org
>> > http://www.blu.org/mailman/listinfo/discuss
>> >
>> >
>> 
>> -- 
>>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>>        Member, MIT Student Information Processing Board  (SIPB)
>>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>>        warlord at MIT.EDU                        PGP key available
>> 
>
>
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the Discuss mailing list