Networking Forums

Networking Forums > Computer Networking > Linux Networking > Newbie help with networking

Reply
Thread Tools Display Modes

Newbie help with networking

 
 
Spare Brain
Guest
Posts: n/a

 
      11-03-2005, 08:45 PM
Hi,

I am new to Linux, esp to LiveCD. It seems like a wonderful thing, if only I
can get the network going!

I am trying to work from a laptop with broken HDD. I am using a PCLinuxOS
LiveCD. I am using a DWL-G650 D-Link pcmcia card.

I could use the configurator to set up the SSID, WEP, et al for the card and
it seems to connect (status lights blinking). However, I am unable to reach
anywhere! I tried the following to set up the IP address, etc:

ifconfig ath0 192.168.0.201 netmask 255.255.255.0 up

It seems to work fine, and when I do a ifconfig ath0, I see the assigned IP
as in my command. However, ping 192.168.0.1 fails (Destination Host
Unreachable). Not surprisingly, it also fails for ping www.yahoo.com
(unknown host ...).

I have included the following in /etc/resolv.conf, but it did not make any
difference!
domain cfl.rr.com
nameserver 192.168.0.1

Any help would be appreciated.
Thanks
SB


 
Reply With Quote
 
 
 
 
J.O. Aho
Guest
Posts: n/a

 
      11-03-2005, 09:25 PM
Spare Brain wrote:
> Hi,
>
> I am new to Linux, esp to LiveCD. It seems like a wonderful thing, if only I
> can get the network going!
>
> I am trying to work from a laptop with broken HDD. I am using a PCLinuxOS
> LiveCD. I am using a DWL-G650 D-Link pcmcia card.
>
> I could use the configurator to set up the SSID, WEP, et al for the card and
> it seems to connect (status lights blinking). However, I am unable to reach
> anywhere! I tried the following to set up the IP address, etc:
>
> ifconfig ath0 192.168.0.201 netmask 255.255.255.0 up


You need to define a gateway too whit route, see the man page for details.

//Aho
 
Reply With Quote
 
laclac01@yahoo.com
Guest
Posts: n/a

 
      11-04-2005, 02:25 AM
Yeah because the J.O. Aho was so kind to not tell you how to add a
default gatway i will tell you.
route add default gw 192.168.0.1

providing 192.168.0.1 is your gateway
your gateway is the actual machine/router that has the internet access.

 
Reply With Quote
 
Spare Brain
Guest
Posts: n/a

 
      03-26-2006, 12:05 PM
"J.O. Aho" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Spare Brain wrote:
>> Hi,
>>
>> I am new to Linux, esp to LiveCD. It seems like a wonderful thing, if
>> only I
>> can get the network going!
>>
>> I am trying to work from a laptop with broken HDD. I am using a PCLinuxOS
>> LiveCD. I am using a DWL-G650 D-Link pcmcia card.
>>
>> I could use the configurator to set up the SSID, WEP, et al for the card
>> and
>> it seems to connect (status lights blinking). However, I am unable to
>> reach
>> anywhere! I tried the following to set up the IP address, etc:
>>
>> ifconfig ath0 192.168.0.201 netmask 255.255.255.0 up

>
> You need to define a gateway too whit route, see the man page for details.
>
> //Aho


The route command requires that you at least have a static connectivity to
the gateway. In this case, please note that ping 192.168.0.1 does not work!
That is the router for me.

Any other suggestions?

Thanks!
Angus


 
Reply With Quote
 
Timothy Murphy
Guest
Posts: n/a

 
      03-26-2006, 03:06 PM
Spare Brain wrote:

>>> I am trying to work from a laptop with broken HDD. I am using a
>>> PCLinuxOS LiveCD. I am using a DWL-G650 D-Link pcmcia card.
>>>
>>> I could use the configurator to set up the SSID, WEP, et al for the card
>>> and
>>> it seems to connect (status lights blinking). However, I am unable to
>>> reach
>>> anywhere! I tried the following to set up the IP address, etc:
>>>
>>> ifconfig ath0 192.168.0.201 netmask 255.255.255.0 up

>>
>> You need to define a gateway too whit route, see the man page for


> The route command requires that you at least have a static connectivity to
> the gateway.


That is not true, if by "static connectivity" you mean "not dhcp".
It is perfectly possible - in fact normal, I would have thought -
for the gateway to be at the other end of a dhcp connection.

I haven't followed the thread, but would suggest trying something like

route add -net 192.168.0.0 netmask 255.255.255.0 dev ath0
route add default gw 192.168.0.1

> In this case, please note that ping 192.168.0.1 does not
> work! That is the router for me.




--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEWBIE NEEDS NETWORKING HELP Network Newbie Wireless Networks 1 09-01-2006 07:20 PM
Home Networking (Networking Newbie) - Wireless & Wired can they work together ? GeoffP Home Networking 3 07-20-2005 12:03 PM
newbie networking Justice Linux Networking 1 07-07-2005 11:32 PM
Newbie help please ref networking P.E. Broadband 14 10-06-2004 01:31 PM
Very Newbie Networking ? B&P Windows Networking 1 12-16-2003 01:19 AM



1 2 3 4 5 6 7 8 9 10 11