LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Need help configuring the network (https://www.linuxquestions.org/questions/slackware-14/need-help-configuring-the-network-341415/)

netcat 07-08-2005 06:05 PM

Need help configuring the network
 
I have, as the title may hint, trouble with getting a working network.
All help files I've been looking at have told me that Slackware would try to autodetect my network card when configuring the network. However, it never did that for me. I figured I had to specify it myself in rc.modules, but the computer with Slackware is about 5-6 years old, so I have absolutely no idea what type of card it is. I've just been hoping I might be lucky and it working anyway.
Choosing the DHCP option in netconfig yields me no luck, but choosing static IP and entering some random 192.168.0.x IP-adress seems to work... a little. I "can" ping the IP of this computer, meaning it won't give me unknown host or whatever, but it can't find a route to it.
The computer I'm at now (running winXP) is the "master", with internet and all, and I'm using an USB network card (connected to the windows comp) to connect the slack-machine together with this.. I've also tried connecting the adsl-modem directly to the linux comp, and using DHCP in netconfig, but alas...
I really need help, learning to use Linux without internet feels a bit awkward. :(

egag 07-08-2005 06:08 PM

what is the output of the command " route "
can you paste it here...?

egag

netcat 07-09-2005 05:51 AM

Destination.....Gateway.......Genmask............Flags.....Metric.......Ref......Use.....Iface
localnet...........*...................255.255.255.0...U............0..............0.........0...... ...eth0
loopback.........*...................255.0.0.0...........U............0..............0.........0.... .....lo
default............192.168.0.1..0.0.0.0...............UG..........1..............0.........0........ .eth0

keefaz 07-09-2005 06:09 AM

If xp machine's IP is 192.168.0.1, your network config seems fine
Also if windows XP does not run a dhcp server, you could not
use dhcp option in slackware network config, use 192.168.0.xx IPs
instead.

You said you can ping your windows machine but can't find a route to it (?)
try :
Code:

traceroute 216.239.37.99
That will attempt to show the route to google.com

netcat 07-09-2005 07:25 AM

Quote:

Originally posted by keefaz
If xp machine's IP is 192.168.0.1, your network config seems fine

Well, no the XP machine's IP is 217.208.127.x.. Are you saying that I should use that IP as gateway? I tried that, but then I got Network unreachable when doing ping or whatever.

keefaz 07-09-2005 07:44 AM

Your XP machine has 2 IPs, one for the inteface connected
to your modem (217.208.127.x..) and the other for the USB
interface (192.168.0.xxx)


All times are GMT -5. The time now is 07:31 AM.