Networking Forums

Networking Forums > Computer Networking > Linux Networking > Home Made SUSE 10 Wireless Router

Reply
Thread Tools Display Modes

Home Made SUSE 10 Wireless Router

 
 
Nathaniel Dube
Guest
Posts: n/a

 
      03-29-2006, 01:59 AM
I have an external 56k modem and an internal PCI wireless adapter on my
upstairs computer. I have the exact same wireless adapter on my down
stairs computer. I'm to cheap to buy a router. Is there anyway I can
setup SUSE 10 on the upstairs computer to turn the wireless adapter into a
router and share my external dialup connection with the down stairs
computer?

At one point in time I plugged the external modem into the down stairs
computer. I installed and setup DHCP and DNS and turned the on-board LAN
into a wired router. I was able to get a internet connection going to my
brother's PS2. I don't remember for the life of me how I did that.

I managed to setup DHCP and DNS on the upstairs computer and I was able to
get the downstairs computer to connect to the upstairs one via wireless
network. SUSE 10 told me it was able to get IP address assigned to it and
I was even able to access files on the system. How ever I was still unable
to get the downstairs computer to access the internet via the external
modem I have on the upstairs computer. I have the network working and the
upstairs computer is working as a wireless router. So I'm half way there.
Now I just need to figure out how to share the internet through the
network. Any ideas?
--
Free Talk Live - International Syndicated Talk Radio
Pro Liberty Talk Radio where YOU are in control!
http://www.freetalklive.com
 
Reply With Quote
 
 
 
 
Colin Day
Guest
Posts: n/a

 
      03-29-2006, 03:30 AM
Nathaniel Dube wrote:
> I have an external 56k modem and an internal PCI wireless adapter on my
> upstairs computer. I have the exact same wireless adapter on my down
> stairs computer. I'm to cheap to buy a router. Is there anyway I can
> setup SUSE 10 on the upstairs computer to turn the wireless adapter into a
> router and share my external dialup connection with the down stairs
> computer?
>
> At one point in time I plugged the external modem into the down stairs
> computer. I installed and setup DHCP and DNS and turned the on-board LAN
> into a wired router. I was able to get a internet connection going to my
> brother's PS2. I don't remember for the life of me how I did that.
>
> I managed to setup DHCP and DNS on the upstairs computer and I was able to
> get the downstairs computer to connect to the upstairs one via wireless
> network. SUSE 10 told me it was able to get IP address assigned to it and
> I was even able to access files on the system. How ever I was still unable
> to get the downstairs computer to access the internet via the external
> modem I have on the upstairs computer. I have the network working and the
> upstairs computer is working as a wireless router. So I'm half way there.
> Now I just need to figure out how to share the internet through the
> network. Any ideas?


Does the downstairs computer have a global (as opposed to local) IP address?
If not, you may have to enable NAT (network address translation) in the
kernel.

Also, what services are allowed to go through the firewall (if any) on
the upstairs
computer?

Colin Day
 
Reply With Quote
 
Nathaniel Dube
Guest
Posts: n/a

 
      03-29-2006, 05:31 AM
Colin Day wrote:

> Does the downstairs computer have a global (as opposed to local) IP
> address? If not, you may have to enable NAT (network address translation)
> in the kernel.


On the upstairs computer I set the IP manually for the adapter because it's
going to be the router. I set it to 192.168.0.1. DHCP is set to assign
192.168.0.1-64 for computers that connect to it.

On the downstairs computer, when I right click on KInternet and click on
Wireless Connection it shows 192.168.0.64 as the assigned IP.

The downstairs computer is set to let DHCP set the IP, hostname, etc for the
adapter.

I was able to get the downstairs computer to connect to the upstairs one.
The problem is getting on the internet with it. I can access the internet
just fine from the upstairs computer acting as the router. But for some
reason it wont route the internet to let the downstairs computer use it.

> Also, what services are allowed to go through the firewall (if any) on
> the upstairs
> computer?
>
> Colin Day


For now I completely turned off the firewalls on both computers. I'm at
home on dialup, so the security risk is still minimal even with the
firewalls off.
--
Free Talk Live - International Syndicated Talk Radio
Pro Liberty Talk Radio where YOU are in control!
http://www.freetalklive.com
 
Reply With Quote
 
Philippe WEILL
Guest
Posts: n/a

 
      03-29-2006, 04:44 PM


Nathaniel Dube wrote:
> Colin Day wrote:
>
>
>>Does the downstairs computer have a global (as opposed to local) IP
>>address? If not, you may have to enable NAT (network address translation)
>>in the kernel.

>
>
> On the upstairs computer I set the IP manually for the adapter because it's
> going to be the router. I set it to 192.168.0.1. DHCP is set to assign
> 192.168.0.1-64 for computers that connect to it.
>
> On the downstairs computer, when I right click on KInternet and click on
> Wireless Connection it shows 192.168.0.64 as the assigned IP.
>
> The downstairs computer is set to let DHCP set the IP, hostname, etc for the
> adapter.
>
> I was able to get the downstairs computer to connect to the upstairs one.
> The problem is getting on the internet with it. I can access the internet
> just fine from the upstairs computer acting as the router. But for some
> reason it wont route the internet to let the downstairs computer use it.



on the upstairs computer have you activate ip_forward

echo 1 > /proc/sys/net/ipv4/ip_forward

and you have to NAT downstairs computer on the upstairs computer

iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.0/26 -j MASQUERADE

assuming ppp0 is your internet device


>
>
>>Also, what services are allowed to go through the firewall (if any) on
>>the upstairs
>>computer?
>>
>>Colin Day

>
>
> For now I completely turned off the firewalls on both computers. I'm at
> home on dialup, so the security risk is still minimal even with the
> firewalls off.

 
Reply With Quote
 
Philippe WEILL
Guest
Posts: n/a

 
      03-29-2006, 05:00 PM
Philippe WEILL wrote:
>
>
> Nathaniel Dube wrote:
>
>> Colin Day wrote:
>>
>>
>>> Does the downstairs computer have a global (as opposed to local) IP
>>> address? If not, you may have to enable NAT (network address
>>> translation)
>>> in the kernel.

>>
>>
>>
>> On the upstairs computer I set the IP manually for the adapter because
>> it's
>> going to be the router. I set it to 192.168.0.1. DHCP is set to assign
>> 192.168.0.1-64 for computers that connect to it.
>>
>> On the downstairs computer, when I right click on KInternet and click on
>> Wireless Connection it shows 192.168.0.64 as the assigned IP.
>>
>> The downstairs computer is set to let DHCP set the IP, hostname, etc
>> for the
>> adapter.
>>
>> I was able to get the downstairs computer to connect to the upstairs
>> one. The problem is getting on the internet with it. I can access the
>> internet
>> just fine from the upstairs computer acting as the router. But for some
>> reason it wont route the internet to let the downstairs computer use it.

>
>
>
> on the upstairs computer have you activate ip_forward
>
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> and you have to NAT downstairs computer on the upstairs computer
>
> iptables -t nat -A POSTROUTING -o ppp0 -s 192.168.0.0/26 -j MASQUERADE


Ooops this is valid only for 1 to 63 replace /26 by /25


>
> assuming ppp0 is your internet device
>
>
>>
>>
>>> Also, what services are allowed to go through the firewall (if any) on
>>> the upstairs
>>> computer?
>>>
>>> Colin Day

>>
>>
>>
>> For now I completely turned off the firewalls on both computers. I'm at
>> home on dialup, so the security risk is still minimal even with the
>> firewalls off.

 
Reply With Quote
 
Nathaniel Dube
Guest
Posts: n/a

 
      03-30-2006, 03:02 AM
I got it all to work. Thanks every one.
--
Free Talk Live - International Syndicated Talk Radio
Pro Liberty Talk Radio where YOU are in control!
http://www.freetalklive.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home made antena's Wal Wireless Internet 7 05-15-2005 11:56 AM
Re: Home made antenna... David Taylor Wireless Internet 3 06-23-2003 04:43 PM
Re: Home made antenna... John Doe Wireless Internet 1 06-23-2003 11:36 AM
Re: Home made antenna... David Taylor Wireless Internet 0 06-23-2003 08:11 AM
Re: Home made antenna... David Taylor Wireless Internet 0 06-23-2003 08:07 AM



1 2 3 4 5 6 7 8 9 10 11