LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2004, 05:48 PM   #1
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Rep: Reputation: 15
Connect to the internet through a winXP machine


I just got my Netgear wireless card working with the madwifi drivers, and now I have a statically assigned IP and can ping other machines on my LAN. However, I still have no internet access. All the other machines on my network are windows machines and connect through a winXP machine. This machine is connected to a Netgear router, which is connected to a ADSL modem. How can I connect to the internet from the router or this machine?
 
Old 04-07-2004, 06:45 PM   #2
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
Well, I don't have a wireless LAN or an XP machine, but since no one else is replying... Try to run "netconfig" as root. And have your hostname, domain name, IP address, subnet mask, gateway IP address, etc. available. At least its a start.

Last edited by wallison; 04-07-2004 at 06:47 PM.
 
Old 04-07-2004, 09:16 PM   #3
ShockTherapy
LQ Newbie
 
Registered: Nov 2003
Location: London, U.K
Distribution: RedHat 9, Gentoo, I'm Working On More so Don't Bug Me.
Posts: 23

Rep: Reputation: 15
I assume the windows XP machine is the gateway and you have told slackware this during the installation, ie its ip address and entered the relevant DNS information.
If all that is done then all you have to do is increase the maximum MTU on the windows XP gateway to about 1500, this can be done using Dr TCP available from here:
DrTCP
 
Old 04-08-2004, 06:39 AM   #4
alhobbel
LQ Newbie
 
Registered: Mar 2004
Location: The Netherlands
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
All I know is (if you are using winXP internet sharing):
1) Try with DHCP instead of static ip. As I recall windows needs this.
2) Make sure the option to let other computers control your internet acces is turned off.

That's as far as it goes for me.
 
Old 04-08-2004, 09:23 AM   #5
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks all for replying

I tried to configure dhcp, however I don't exactly know how. I also don't know how to configure dns. Is there any tutorial I could read? I've been searching the internet for quite a while now, and have not seen anything.

I've used netconfig, however as far as I can tell that only configures ethernet cards like eth0. I need to configure ath0, an atheros-based wireless card.
 
Old 04-08-2004, 09:27 AM   #6
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
Use iwconfig to set configuration information for ath0. man iwconfig.
 
Old 04-08-2004, 09:58 AM   #7
alhobbel
LQ Newbie
 
Registered: Mar 2004
Location: The Netherlands
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Just found out there is a forum devoted to wireless networking on this site:
LinuxQuestions.org > Forums > Linux - Networking > Linux - Wireless Networking.

Maybe they can help you better there. They also have a simple HOWTO-thread meant for 2.4.x kernels. I don't know if you already have the 2.6 kernel, but even then you might be able to adapt it for your setup.

I gathered some quick quotes from people who very probably know more about this than I do:

By meldar:
>Are you connected to an essid? Type iwlist scanning to scan for an
>essid, and iwconfig eth1 essid "name_of_essid" to connect to that
>essid.
>
>Use dhcpcd ath0 to get an ip from a dhcp-server.

By beyer42:
>recheck /etc/sysconfig/network-scripts/ifcfg-ath0
>
>and make sure you have the following parameters set:
>
>GATEWAY=192.168.0.1
>NETMASK=255.255.255.0
>BROADCAST=192.168.0.255

Hope that helped.
 
Old 04-08-2004, 03:21 PM   #8
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
I used the instructions here to set up my network card, as this was the only slackware-specific tutorial on setting up a wireless card I could find. I do not have a /etc/sysconfig directory, as I think sysconfig is a program, which I do not have installed. I have tried dhcpcd ath0, however it does not work. I can post the error message if needed, however it will require a reboot (writing from windows, dual boot system). I have also tried route add gw 192.168.0.1 (router) to set up my router as the default gateway, however that also does not work (Do I need to set my windows PC as the default gateway?). I'll try the wireless networking forum, but I just think this is a configuration problem with slackware, something I am overlooking.

Thanks for all the help so far!
 
Old 04-08-2004, 04:19 PM   #9
TheRepublican
Member
 
Registered: Nov 2003
Location: The US of A
Distribution: Gentoo
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks alhobbel! Used the tutorial there to get this thing up and running! Posting from Linux now!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 06:32 PM
How to Connect to Remote Red Hat 9 Machine Via Internet? shelldinesh Linux - General 3 10-06-2004 01:13 PM
Connect to shared network printer on WinXP machine for all users (Slackware) a1flecke Linux - Newbie 12 05-03-2004 08:27 PM
Cannot connect to internet in Mandrake 9.2, but can in WinXP TravisOSF Linux - Networking 27 04-22-2004 01:11 AM
Smbclient cannot connect to WinXP machine Xylon Slackware 10 10-02-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration