Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Short answer... You dont, you go spend the 15$ a cheap router would cost and use it to share the internet and not have headaches for the rest of your surfing days.
If your avoiding the router cause you have dial-up... Forget it. Dial-ups to crappy and slow to mess around with all the fuss setting it up. It also violates the terms of service for every dial-up carrier I've ever seen. They all say ONE computer at a time.
Other than that. You'd be creating an ad-hoc network if the network cards are capable. And one computer would have to be running properly configured proxy software to share the net.
I could go into severe details on how to create the ad-hoc and which proxy software and how to config it but...
Out of curiosity I typed just 2 words into google and got no less than 25 threads on ubuntu forums, just-linux.com and a few other sites in which people have literally beaten this topic into the ground with ways to do it, so it's ridiculous to type it again here.
Buy an inexpensive wireless router/Access Point and put your laptop to a better use. Make a music server or a digital picture frame or anything.. There are TONS of better ways to utilize that old laptop than turning it into a router.
Thirded! Just because it is possible to do something doesn't mean it makes any sense to do it. If you just want to do it as a "learning experience", then there is no point in having someone here tell you how to do it - you can dig up the necessary info yourself.
I've done something similar exactly ONCE in order to do a one-time net install of Debian on an old system. It was much more trouble than it was worth. Also, not all network card drivers are capable of doing what you want.
wireless router is upstairs. I have no cable access there.
When I need to install linux it need internet access which I can't provide.
I have tried putting wireless router in my room attach cable to it.
But it wont work like a router on a wireless link.
It doesn't consider wireless link as "UP LINK".
So it doesnt forward traffic to router up stairs.
i have 2 laptops, A and B, both with WLAN cards.
A is connected to the internet through an ethernet cable.
how can i make A function as an access point so that B can receive the signal from A and surf the internet?
i use "Create New Wireless Network", but it keeps failing. It just reverts back to itz wired connection.
Network: 10.10.10.0/24, this computer will be 10.10.10.1, Remote Computer will be 10.10.10.254
The above is and example for a step. My question is, how do i determine my Network values?
If I understand correctly what you need is to locate the IP for each machine. There are a number of tools to do so. I bet your distro has some kind of graphical tool to set up the network and they IP's should be visible somewhere around there.
In any case, you could also use ifconfig, which is a command line tool.
Log in as root user on a terminal or vt, and run ifconfig. It should work all the network interfaces available on the machine along with their IP direction.
It realy deppends on your distribution and the tools you use to configure.
I guess you use iwconfig.
If you have the right drivers and the card is working properly by using iwconfig you can enable master mode and the other options:
check out this link .
see iwconfig mode options.
if the card is configured correctly
set the IP adresses for the ethernet and the wireless card,
enable ip forward
echo "1" > /proc/sys/net/ipv4/ip_forward
set the policy to allow forward traffic
/sbin/iptables -P FORWARD ALLOW
enable masquerade for the wlan card
/sbin/iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE