Hey,
I've recently acquired an old
HP Pavilion ZT3000 and have decided to install Slackware, but I'm having trouble with the whole rc.inet1 configuration stuff.
I've been able to connect to the internet manually with the following command:
Code:
iwconfig eth0 essid [access-point-name] key restricted [my-wep-key]
(...and then use "dhcpcd" to get an ip address.)
As you can see, eth0 is my wireless interface. Not exactly sure why (the comp has a IR port,wifi and Ethernet.)
I'm using a
shared WEP key (I know the security implications of WEP). The key being shared is the reason
restricted is a parameter in the iwconfig command.
I've been trying to get it working through /etc/rc.d/rc.inet1 but I can't seem to setup rc.inet1.config correctly
I'm not sure where to set the key to "shared"
Any ideas?
PS. I've searched the forums and I
could use the working iwconfig command with ./bash_profile as a startup script. This has the problem I need sudo (ie setup /etc/sudoer), which seems like a lot of work, when rc.inet should work. And it also has the problem of having to enter my password THREE times (login, sudo iwconfig and for sudo dhcpcd) which is horrible (and I don't even know how it would work when I set X to begin on startup again)
I probably could also install "wicd" but having to ferry across files and trying to setup things without the internet is a pain.