LinuxQuestions.org
Review your favorite Linux distribution.
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 04-03-2006, 12:22 PM   #1
jb2006
LQ Newbie
 
Registered: Dec 2005
Location: England
Distribution: Slackware 10.2
Posts: 12

Rep: Reputation: 0
connecting wireless router through linux pc?


on saturday i got a new pc, well more like a firewall to be setup on my home network so me, my grandad and my uncle dean will be firewalled with linux. The box as 2 250gb hdds, AMD Athlon 3.2ghz 64bit processor, 1gb of ram. Anyway i want to connect my wireless router through the new linux box in which i will setup a firewall. Now the new box is connected to my modem so how would i go about getting my router to connect to the internet through the new box? I've plugged it in, 1 end in the routers modem port and the other end in a ethernet port on the linux box.

When i got the pc it came with a network card built on to the motherboard which hasn't been detected so i had to install 2 cards.
1) 1x10/100Mbps ethernet. -- eth1
2) 1x10/100/1000Mbps gigabit ethernet. -- eth0
now the linux box is connected to the internet via card #2 while card #1 is connected via ethernet to my wireless routers modem port. Where do i go from here? When i connect to my router on my laptop though on the main control panel page it displays this:

http://img446.imageshack.us/img446/8228/problem2ar.jpg

and "ifconfig -a" displays this:

Quote:
eth0 Link encap:Ethernet HWaddr 00:0B:2B:038:3D
inet addr:xx.xx.xx.xxx Bcast:255.255.255.255 Mask:255.255.248.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:133325 errors:0 dropped:0 overruns:0 frame:0
TX packets:9725 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19249699 (18.3 Mb) TX bytes:1592649 (1.5 Mb)
Interrupt:11 Base address:0x5000

eth1 Link encap:Ethernet HWaddr 00:10:A7:17:AE:52
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:513 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:302670 (295.5 Kb) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3365 errors:0 dropped:0 overruns:0 frame:0
TX packets:3365 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:168563 (164.6 Kb) TX bytes:168563 (164.6 Kb)

any suggestions?
 
Old 04-03-2006, 12:39 PM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
for what it's worth, i'd suggest:
1 - connect your router direct to the internet so that grandad and uncle can still surf while you play

2 - learn about iptables

that sounds like one hell of a spec for a firewall - why not use the old machine as the firewall and the new one to play?
 
Old 04-03-2006, 12:41 PM   #3
jb2006
LQ Newbie
 
Registered: Dec 2005
Location: England
Distribution: Slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
well the whole point in this new machine was to protect my home network. Its gunna be used as a firewall and file server.
 
Old 04-03-2006, 12:58 PM   #4
legendaryhwk
Member
 
Registered: Feb 2006
Posts: 31

Rep: Reputation: 15
wow, the way i see it, is that is ONE VERY BIG WASTE FOR AN AWESOME COMPUTER. lol. bernied is right, if all that the computer is gonna be is a firewall, i myself would put my worse computer up front, and instead of having a file server, just share files across my network thru the router. if the file server, however, is meant to be accessed by outside ur network... i'd STILL put it behind the router, and activate port forwarding on the router, cause that thing can do way more than hold files. so, if you've got another computer with 2 ethernet ports, u should put linux on it, and set THAT one up as ur firewall.


now, about the firewall itself.. in order to get that setup, u'd have to do something like the Windows ICS (Internet Connection Sharing). as i am new to linux i dont know how to do this... but surely it's possible. someone else on these forums probly has the answer to that.. hehe, just not me []

good luck!
 
Old 04-03-2006, 01:16 PM   #5
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
sorry to offend- i wasn't suggesting that you shouldn't build the linux firewall/server
just that it might take a little while and that you needn't deprive the family of internet during construction. it would also take the time pressure off you.

this is assuming that the router has some firewall of its own to keep you safe in the meantime
 
  


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
Connecting One Linux Router to Another Mainframe Linux - Networking 6 11-10-2005 11:13 AM
Comcast wireless router not connecting jdknshld Linux - Wireless Networking 2 09-05-2005 04:35 PM
Connecting to another Linux box through router? BajaNick Linux - Networking 17 07-14-2004 09:07 AM
Linux Router & Netgear Wireless Router DMaCATO Linux - Wireless Networking 1 04-30-2004 09:16 AM


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