Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Internet Connection Sharing

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking
View previous topic :: View next topic  
Author Message
Winter Knight



Joined: 29 May 2006
Posts: 65

PostPosted: Mon May 29, 2006 11:35 pm    Post subject: Internet Connection Sharing Reply with quote

I have my ndiswrapper wireless connection working in DSL-n. In fact, I am using it right now.

My wireless connection is on wlan0. I also have a wired connection on eth0. Right next to my DSL-n computer, connected to DSL-n thru ethernet via hub, I have a Linux box and a Windows box.

I want my Windows and Linux boxes to be able to access the internet through my wireless connection in DSL-n. Microsoft calls this Internet Connection Sharing. Others might call this routing, or gatewaying(?) . Can someone give me a clue where to start?

I was using smoothwall for my routing needs. In fact, DSL-n is running on my smoothwall. If I take the CD out, I have smoothwall back. But getting ndiswrapper working on smoothwall would involve installing a "super-kernel", compiling ndiswrapper on another box like DSL-n, then moving it over to smoothwall, and re-running setup. Then I would have to pray. I was hoping to avoid all that by setting it up on DSL-n.

Any suggestions on "Internet Connection Sharing" with DSL-n would be much appreciated. Thank you.
Back to top
View user's profile Send private message
Peter



Joined: 20 Apr 2006
Posts: 51

PostPosted: Tue May 30, 2006 3:30 am    Post subject: Reply with quote

I haven't tried this myself, as I don't have a wireless card that works with ndiswrapper. or at all for that matter. or a decent network card. but it seems to be what you were looking for.
[url]http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/[/url]
Back to top
View user's profile Send private message Send e-mail
Winter Knight



Joined: 29 May 2006
Posts: 65

PostPosted: Tue May 30, 2006 8:14 pm    Post subject: Reply with quote

Thanks Peter. I've been reading that since early this morning.

Does anyone know anything about iptables and dsl-n? Does the kernel have iptables support? Is it modularized? Will I have to compile my own kernel if I want to use IP Masquerading (Internet Connection Sharing) with dsl-n? How about with DSL? I downloaded and burned dsl-n just so I wouldn't have to compile my own kernel.

I compiled iptables-1.3.5. I ran a script I got off of tldp.org, and when it was checking modules, it found that ip_tables was not loaded. I looked for it, and confirmed that it was not loaded, nor was it anywhere as a file.

Thank you in advance.
Back to top
View user's profile Send private message
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Sat Jun 03, 2006 4:17 pm    Post subject: Reply with quote

You can always grab a Knoppix 3.9 CD and get other modules, programs, etc.
Back to top
View user's profile Send private message Visit poster's website
Winter Knight



Joined: 29 May 2006
Posts: 65

PostPosted: Wed Jun 07, 2006 10:32 pm    Post subject: Thanks... Reply with quote

Thanks

I'll start downloading that tonight, as long as that is okay with my computer. I'm kind of slow and easily distracted, but when I get to copying and loading those modules, I'll report what happened here.
Back to top
View user's profile Send private message
headly



Joined: 05 Jul 2006
Posts: 5

PostPosted: Wed Jul 05, 2006 5:38 am    Post subject: Reply with quote

This is probably old news now but for others that may be reading this thread. I reckon "horses for courses". I wanted to something like this with out using Windows ICS and I found Coyote Linux.

It is a tiny version of linux entirley intended as a router / firewall.
I run it from an old pentium 1 with two ethernet nic's and a floppy disk.

Thats it. No Hard disk and no CD no Keyboard and no Monitor.
(Ok a keyboard or monitor might be handy when your first configuring it.)

My headless machine hapily sits in the corner humming away. The only sound it makes is the fan. If you want to adjust anything you telnet to it.

Just a thought.


Don't get me wrong, I LOVE DSL (-N)
Back to top
View user's profile Send private message
Winter Knight



Joined: 29 May 2006
Posts: 65

PostPosted: Thu Jul 13, 2006 2:18 am    Post subject: Reply with quote

I've heard of coyote linux. Haven't tried it yet. But as I mentioned earlier, I have used a similar distro, smoothwall. Smoothwall is much bigger, it doesn't fit on a single disk.

Coyote is not designed for wireless. There is an old project tho, coyote linux ap, some info at:
It doesn't look like it supports usb cards tho.

Thanks for the input, everyone. I might restart learning ip masquerading sometime in the future, but for now, I've dismantled my windows box in lieu of making a mame box. DSL-n is now my primary OS, and I no longer need more than one computer with Internet access.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group