Setting up my wireless LAN internet on my slack laptop :D
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
First of all, the 127.0.0.1 ip address is always already in use by the system, you must change that address for device eth0. Most people use 192.168.x.x for their local networks, again, 127.0.0.1 is taken.
As for device eth1, see if your card is a 16-bit pcmcia card (not a cardbus card) by typing "/sbin/cardctl status" at a console, it should tell you if it's a pcmcia or cardbus card. If it's a pcmcia card, take a look at /etc/pcmcia/wireless.opts, it is well-commented and should be pretty much self-explanatory, put your wireless-specific settings there, including what sounds like your encryption key ("some key entered that I saw..."), read the commentary throughout the file to see how to do this.
this is what printed when I typed /sbin/cardctl status
5V 16-Bit PC Card
function 0: [ready]
after that I looked in /etc/pcmcia/wireless.opts and there I think saw the appropriate driver for my card ( Lucern RoamAbout ). But I dont know the key for now, I will ask the teacher on monday. Also, I dont understand what the other options are about : should I leave them the way they are ?
Good, so you have a 16-bit pcmcia card and thus can use /etc/pcmcia/wireless.opts and /etc/pcmcia/network.opts to setup your wireless card.
You'll need to edit /etc/pcmcia/network.opts and /etc/pcmcia/wireless.opts correctly for your particular site. Note that the "Lucent RoamAbout" section in wireless.opts that you're referring to is just an example and is not functional.
If you could post the info specific to your situation, then we can get those numbers into the right places in those files, DO NOT post the key you spoke of earlier, we will refer to that with x's in place of the digits, also do not post the essid or "SSID" name either, we will refer to that as "essidname", and you can simply substitute the correct characters. Here's the info you need to have in front of you before we begin:
1. network setup used by your school, no doubt they are assigning ip addresses via dhcp, you need to verify that. If they are not using dhcp, then you need to know what ip address is assigned to you by them and what the addresses of the gateway and dns servers are (they may be the same address).
2. wireless setup used by your school, including ssid name(again, do not post the name), WEP encryption key (again, do not post this key), the MAC address of your wired (eth0) device and the wireless card, this is a number like this: "00:ED:A0:B4:E1:09" you'll need this number in order to differentiate this card in those *.opts files from your wired device, you should be able to get these MAC address numbers by doing a /sbin/ifconfig -a, which will list them in the "HWaddr" field.
When you've got this info, post back and we'll go through the edits you need to make.
I talked with the school admin, but he refused to tell me the network key ( there were some issues of students abusing it ) and he said I should bring my laptop to him for him to set it up.
So please post the steps that the admin should go over so he configures my wireless lan on my laptop. Most probably I will go to him with my laptop, and we open that thread to figure out the right way of configuring the net. Thanks in advance
First of all, the admin is going to have to trust you with the key, it's going to easily viewed by you once the configuration is done.
Second, keys larger than 64bit may or may not work, that's something to ask about before bothering to go any further, what the key length is.
The changes need to be made to /etc/rc.d/rc.inet1 and /etc/pcmcia/wireless.opts, I don't have enough of your info to tell you what to put in those files, have the the admin look at both of them, they are well commented and the admin should be able to put the right numbers in the right places. Post back any specific questions the admin might have.
yo, why isnt there a way to do it easily in slackware the way its configured in red hat ! .
There is no such tool to configure the network card in X, and when in consoled I configured /etc/rc.d/inet1 , /etc/pcmcia/wireless.opts and network.ops bwoy I got lost. I edited all things and when rebooting, again, it doesnt f***ing work.
I wanted to copy wireless.opts and network.opts to the c:\ directory ive mounted but it sais read only drive. How can I make it writable ? Also, how can I see the startup log so I can see what the exact error was ? I really want to fix it and continue using slack, rather than redhat.
Slackware puts their efforts in other places than Red Hat does, we all end up benefiting from both approaches. Slack does have a config tool for the network which you can try, it's <I'm booting a slack box and checking...brb>.
Is the "c:\" directory you mounted an ntfs(windows XP, 2000, etc) volume? or is it vfat? (windows 95, 98, ME) if ntfs, writing to it is not considered safe by the system, this is why it's mounted read-only, unless of course you specified read-only when mounting it, or it's specified read-only in your /etc/fstab. Try using a floppy formatted vfat for that kind of thing. Both os's should be able to read it, or a keychain usb "drive" works also for me.
Startup log is viewable by doing "dmesg | less" from console, then up/down arrows and/or page up/down to scroll through it.
whats that utility I can use ?
yes, c:\ is a ntfs partition
can I mount that partition so I can write on it ? ( do you think that is safe )
ok I will try using the floppy later cause now I gotta go to school.
I really worked on my slackware and after editing all things right ( I think ) this is what appears on the startup log ( that cant be viewed with dmesg | less, dmesg shows that everything works - right MAC address, etc. )
-netmask doesnt match route access
and this appears when it loads the wireless drivers ( wireless.opts I suppose )
-[cardctl 69](not exactly the same ) +ioctl operation not supported
on all my options I have written for eth1
this info I copied from my win settings
network.opts I think asks for Network IP - by default it was 10.0.1.0 . I left it blank, as I dunno what to write there.
Also on all files I left DHCP = yes ( so that it uses DHCP )
And Im kinda not sure about the broadcast/netmask IPs.