LinuxQuestions.org
Visit Jeremy's Blog.
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 09-05-2005, 10:41 PM   #1
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 268

Rep: Reputation: 42
Wireless and wired connections


I am in the process of setting up a wireless portion of my network just to get some experience working with wireless equipment, ok and because it is cool too.

As a security measure I am thinking of putting the wireless portion of my network on a different subnet than the wired. This way if someone is able to break through my WEP and MAC filtering, and guess my non broadcast SSID I will have another layer of protection. Currently the only wireless PC on my network is my Slackware laptop.

Now what I am wondering is if I do seperate my network this way, and am using DHCP on both interfaces, will I be able to have them both running at the same time? In other words, if I want to access my LAN form the laptop and I plug a CAT 5 cable into it, will I be able to access the LAN? Would Slackware direct the request to the proper interface by using the subnet? Or would it just get confused by being directlky connected to two different subnets at the same time?
 
Old 09-06-2005, 06:56 AM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
It's all going to depend on the ip addresses. If the wired portion uses the 192.168.x.x then make the wireless part 164.106.x.x. Or if the wired uses a netmask 255.255.255.0, make the wireless part something different like 255.255.0.0. Or both.
 
Old 09-06-2005, 08:26 AM   #3
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
I've got a similar sort of setup - I've got a wireless and a wired network. What I do is to have them on two separate networks:

Wired: 10.255.254.0, subnet mask 255.255.255.0
Wireless: 10.255.255.0, subnet mask 255.255.255.0

My linux machine has both a wireless card and a wired card and this machine is configured to route between these two networks, and also provide DHCP and DNS for both of them and it works fine.

I don't see any reason why Slackware would have a problem being connected to two separate networks at the same time - as long as they are distinct subnets. If you connect two different network media (e.g. wireless & wired) that share a subnet (or part of a subnet) you'll get error messages in /var/log/messages and all may not be well with the world.
 
Old 09-06-2005, 09:11 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
If your gear supports it, go with WPA.

Your SSID is not hidden. It is still broadcast in response to client probes. You've simply turned off beaconing. No one will need to guess your SSID.

The MAC address of your laptop is sent in the clear all day long. MAC addys are never encrypted, are easily sniffed and spoofed.

In other words, WEP is the only real protection you have in place and it's vulnerabilities are well-documented as I'm sure you know.
 
Old 09-06-2005, 09:50 AM   #5
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
ComputerErik, great minds think alike

Just these past few days, I have been thinking about doing the exact same thing and so I've been doing some research on how to set this up. I have a wireless network that might have 2-3 laptops on it at any given time and 2-3 wired clients. It looks like the most secure way is to create a DMZ in which you place your wireless network and any publicly-accessible servers, like apache or ftp. Then you put your wired network behind a firewall with a different subnet.

I'm thinkng about finding/buying a cheap PII box on which to create a Linux firewall. You need to have 3 networks card to do this right, one facing the outside, one facing your DMZ, and one facing your wired network. There are distros that specialize in this, like smoothwall and clarkconnect and ipcop, but I'm going to use Slack, of course.

If you end up working on this, please post back -- I'll be very curious to see how things go.
 
Old 09-06-2005, 10:59 AM   #6
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 268

Original Poster
Rep: Reputation: 42
I am already running a Smoothwall box, so I would probably just run the Blue interface mod, and do that. I was just wondering how it would work out if I have both up and running at the same time. Ideally I would just keep the wirelss card in and plug into my LAN when I needed to access local resources or transfer files.

On the issue of WPA, has anyone tried it out with ndiswrapper? I got my wireless working without to much problem by installing the Windows driver and using ndiswrapper, but had some initial problems running the scripts to get it to come up automatically on boot. If anybody has already done the WPA mod to it and got it running some pointers would be appreciated.

I really haven't quit decided on what I really want. I like the idea of being totally wireless and being able to access my network from my laptop without needing to plug in a network cable. On the other hand is security. I have no huge fear of someone hacking into my network, I really don't have much of any value available even if someone were to gain access. Basically all that would be visible is my server, and even that you need a password to gain access to. Also I doubt that there is anyone really trying to break into my wireless network. I see two other totally open networks when I scan, so those would be much easier targets. So baiscally I need to sit down and decide which is more valuable to me. I will probably just go ahead and to the blue interface mod for the Smoothwall and try it out.
 
Old 09-06-2005, 11:07 AM   #7
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
Ah, well, you are far ahead of me.

I do have WPA working with ndiswrapper just fine. I was also finally able to get it working even when I turned off my essid broadcast -- let me know if you need help with that.
 
  


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
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 04:37 AM
wired and wireless internet connections. levicc00123 Linux - Laptop and Netbook 1 01-14-2005 08:55 PM
Wired to Wireless back to Wired The_Nerd Linux - Hardware 5 09-15-2004 09:20 PM
wireless on wired.. miguetoo Linux - Wireless Networking 2 04-02-2004 04:45 PM
wired or wireless john_walsh54 Mandriva 3 09-25-2003 06:34 AM


All times are GMT -5. The time now is 05:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration