LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-22-2005, 07:28 AM   #1
underscorelinux
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10 All the way!!!!
Posts: 24

Rep: Reputation: 15
Slackware iptable/packet mangling help needed.


Hello. I've got 2 boxes in my room, laying dormant is my serverbox the other is my active Slackware workbox. Recently I've been feeling 'not at home' anymore when it comes to Slackware (due to the direction it seems to be taking), so I've been trying different distros and some BSD's. I've decided that the only real way I'll be happy with my system is if I either do LFS or Gentoo. Me not having the time to do LFS, I figure a live install of Gentoo from the net will cure my fancy. Therein the problem lies. I have a wireless card, a particularly picky wireless card mind you. I use ndiswrapper to get the wireless connection up. So, I figure, "hey" go online, search for an ipv4 packet forwarding tutorial, learn howto use ip masquerading get the other box up with a crossover cable. It'll all be easy. Or so I thought. All the documents out there I've viewed have had distro specificfiles in them. Except for a few which had seemingly no explanation as to what it was doing at all. Will someone help me? I just don't understand any of this!

My computer's gateway is 192.168.2.1
My computer's ifaddress is 192.168.2.3
The other box should be configured with a like address(I do not have dhcp enabled for my router, that way, I can address other boxes with their ip addresses and use their services.)
 
Old 10-22-2005, 09:18 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Do I understand you correctly:

You have a Slack box w/ a wireless card, all working, & you want it to share its 'Net connection w/ an added box through a x-over cable?

If so, you may only need to enable ip forwarding on "slacker" & set up Ip, gateway, routing, etc. on "server".

What references have you already read? (No Q's now, please.)

Do you know where your init scripts are on Slackware?
 
Old 10-22-2005, 12:08 PM   #3
underscorelinux
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10 All the way!!!!
Posts: 24

Original Poster
Rep: Reputation: 15
That's correct.
Scripts are located in /etc/rc.d
IP Packet Forwarding = 1, however it's still not working w/me setting up the box as the gateway for the other box.
 
Old 10-23-2005, 04:27 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
What do the 2 routing tables look? (Mind you, you may understand them better than I do.) what does ifconfig look like for each?
 
  


Reply



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
mangling icmp tos primo Linux - Security 4 06-16-2005 06:04 PM
Easytag track name mangling adam_mccullough Linux - Software 1 04-30-2005 11:51 AM
enabling iptable in kernel-2.4.26 in slackware-10.0? greythorne Slackware 3 07-09-2004 09:28 AM
Samba 3.0.2 not mangling long names correctly for Win95/98 JLindenmuth Linux - Networking 0 03-25-2004 01:28 PM
needed for UDf packet writing VenimK Linux - Software 1 05-20-2002 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:58 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