LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 10.1 WindowsXP crossover cable internet sharing (https://www.linuxquestions.org/questions/slackware-14/slackware-10-1-windowsxp-crossover-cable-internet-sharing-554881/)

AustinMarton 05-18-2007 06:26 AM

Slackware 10.1 WindowsXP crossover cable internet sharing
 
Hi there,
I have just installed Slackware on my laptop. My laptop is connected to my partners laptop running XP via crossover cable and I wish to share the internet connection.
My partners laptop is connected to wireless broadband (I am unable to get linux to find the card, it's an IPWirelss PCMCIA card).

Both computers can ping each other successfully.

The thing I find odd, is if I boot from the Ubuntu live cd the internet connection sharing *just works* (same goes for SuSE and when I boot them both in windows).

I'm feeling a little stranded, I can't even find the command to restart networking in slackware. I was used to using "/etc/init.d/network restart" in SuSE.

Can one of you slack-sperts out there tell me where I find the network configuration menus and so on, what the network restart command is, or anything else that you think might be the problem??

Thanks in advance,
Austin.

Tux-Slack 05-18-2007 06:34 AM

/etc/rc.d/rc.inet1 and rc.inet2 restart ;)

AustinMarton 05-18-2007 06:43 AM

Hm still no joy after a network restart...

Tux-Slack 05-18-2007 06:48 AM

well i'm not a pro in this...
oh and for your PCMCIA driver
use ndiswrapper and you windows driver
if you have a RaLink chipset on the card use RT type drivers
I use RT2500 for my RaLink MiniPCI card

AustinMarton 05-18-2007 06:57 AM

Thanks for the advice, I'll try getting the PCMCIA card to work as my next project.

I found this post:
http://www.antionline.com/showthread...hreadid=258397

I tried following the linux commands with 'netconfig' and so on, but it didn't seem to change anything.

bassmadrigal 05-19-2007 06:56 AM

check the contents of /etc/resolv.conf

Are you setting this address statically or are you using dhcpcd?

If you are setting it statically you need to run the route command.

Code:

route add default gw `gateway address` `device address`
in my case

Code:

route add default gw 10.10.0.1 eth1

AustinMarton 05-19-2007 07:12 AM

Hey thanks bassmadrigal,

I've got it all sorted now. I am now using dhcpcd, and went back through the internet connection sharing settings on the other laptop, it's all working! :)

(... well, no sound as yet... save that for another day)


All times are GMT -5. The time now is 11:00 AM.