Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-31-2004, 09:33 PM
|
#1
|
Member
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware/Debian
Posts: 308
Rep:
|
trying to setup linux as router for laptop
i'm trying to get my wife's laptop up on the network(internet) with wlan.
currently i have a server, and 2 workstations on lan to linksys router.
(samba, named, bind9, nfs, mysql, blah blah blah).
i installed a wireless pci (xterasys)on one of my workstations(rh9 ) for testing,
before i set this up on my server( for obvious reasons), and a wireless
on her laptop( winxp for now).
i just want to get internet acces for the laptop, through the rh9 workstation,via wlan0.
i don't want to use dhcp as in another post i found here.
all i need is some direction in this matter, i do read, and search....
i figured this didn't need to be in wireless forum, seeing this could be done
the same with lan
some info:
laptop sees rh9 box, good signal
rh9:
eth0 192.168.1.2
wlan0 192.168.2.2
named started ( default config)
thanks !
Last edited by spooge; 08-31-2004 at 09:37 PM.
|
|
|
08-31-2004, 10:04 PM
|
#2
|
Member
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189
Rep:
|
I think all you need to do is configure the client:
1. Start menu -> network connections
2. Goto the options dialog of the wireless card
3. Goto the properties dialog of TCP/IP networking
4. Manually enter your IP address and the ip address of the linux box
as your default gateway.
5. From a command prompt, execute ping www.yahoo.com to see if it works.
Actually, also make sure that ip forwarding is enabled on the linux box.
If not,
echo 1 > /proc/sys/net/ipv4/ip_forward
|
|
|
08-31-2004, 10:29 PM
|
#3
|
Member
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware/Debian
Posts: 308
Original Poster
Rep:
|
thanks bobwall,
no luck
i gonna do some serious reading. firewall/masq.
and wireless.
|
|
|
09-01-2004, 10:00 PM
|
#4
|
Member
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware/Debian
Posts: 308
Original Poster
Rep:
|
sep 1: 9:55pm
I can ping both machines!
after 12hrs at work work, every day, i'm gettin it.
looks like an iptable rule now. found a script to test
http://www.ecst.csuchico.edu/~dranch/LINUX/ipmasq/c-html/ipmasq-compiling3.1.html
oops hopes thats ther right one, 2 nights of heavy drinkn
after 3 years of linux
havn't touch't iptables !
oh boy
with more threads like this..... i'll make it to guru status, and tell the newbs to go google/linux !

Last edited by spooge; 09-01-2004 at 10:01 PM.
|
|
|
09-01-2004, 10:17 PM
|
#5
|
Member
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189
Rep:
|
Here's how I share my lousy dialup connection:
iptables -F
iptables -t mangle -F
iptables -t nat -F
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
(as always, make sure ip forwarding is on)
I know that its evil security wise, but hey, it works every time.
|
|
|
09-01-2004, 10:37 PM
|
#6
|
Member
Registered: Nov 2001
Location: n chicago, IL. USA
Distribution: Slackware/Debian
Posts: 308
Original Poster
Rep:
|
thanks bob
i got the laptop up on net!
but then with no firewall active on rh9 box
i'l try your advise
|
|
|
All times are GMT -5. The time now is 01:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|