I upgraded to 0.6.2 and it seems that preassociate_ESSID is gone.
Is there a way to use this function again. I used it to set my mac adress via ifconfig, as the acces point only allows specific macs and it's way to complicated to register a new one.

Another question: is there a way to set multiple nameservers? via nameserver_ESSID?

Thanks for this great script. It's getting better every day. The Gentoo devs should really integrate it now.

Strange occurence, the wireless script won't recognize my device as having wireless extensions, which it does, then it gets brought up by dhcp anyway, just not using the wireless script. This bugs me, because I keep connecting to my neighbor's wireless if it comes up first.

Strange occurence, the wireless script won't recognize my device as having wireless extensions, which it does, then it gets brought up by dhcp anyway, just not using the wireless script. This bugs me, because I keep connecting to my neighbor's wireless if it comes up first.

Have you tried setting up Preferred APs in the script's config?

As for UberLord I have a bug or something going nuts somewhere. I had version 0.5.5 and when my PC was booting up it would show that it was connecting to the proper SSID which is Hameed.

But after upgrading to 0.6.2 it says Hameed but with a bunch of random characters trailing. It connects just fine but I'm wondering why these random characters are there.

I have only upgraded the Script when this had occured so it has something to do with your script.

Anyway its not a big deal since it still connects but its something to think about.

thx sbastion, i saw that i forgot to create that. i figured since ifconfig eth1 was already showing the card, i didnt have to so i didnt bother to check. Anyway i did it, and edited /etc/conf.d/net.

The funny thing is, the wireless now works, i m actually on it but i really havent event edited the /etc/conf.d/wireless.example so i havent even created /etc/conf.d/wireless.

After doing

Code:

ln -s /etc/init.d/net.eth0 /etc/init.d/net.eth1

all i did was edit /etc/conf.d/net, and uncommented iface_eth1, and gave it the proper ip address used on my router ( i use static ip addressing at home for security i got a quite a few computers so its easier for me like that), and set up the gateway, and rebooted, and it picked it up when i rebooted. I didnt know it could work like that, the funny thing is i didnt even notice cause i was about to run ping, and the ethernet cable got unplugged, so i went ahead with it just out of curiosity to see what output it would give, and to my surprise, nothing. its just responded back within 2 seconds. I m guessing it would work too if i just changed it do dhcp. So since its working, i m wondering if i still need the scripts and the wireless tools that i emerged earlier since i havent edited them yet ?

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#

#ethernet card info (temp dhcp)
iface_eth0="dhcp"
dhcpcd_eth0="-N"

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"

Now all this said, my other question is to find out if i could set up another interface such as eth2 and make it dhcp for school. The school network uses a wireless dhcp server, so is it possible to do so that when gentoo loads lets say when i m at school, it ll pick up the dhcp server and bring up eth2, and keep eth1 static for my home wireless, and disable all netorking device from boot, and enable them manually depending if i m home (wireless eth1), at schoo (possible eth2), or using the ethernet cable directly from the router at home (cable eth0) ?

Wireless config will just work if you have an AP broadcasting it's ESSID, and without WEP enabled. The wireless config example is pretty clear as well.

If you just copy wireless.example to wireless, and edit the copy, you can always get back to your currently working settings by deleting wireless.

Your current setup will allow anyone to connect and monitor your internet traffic, so you should change it to enable WEP. The wireless config allows static ips for certain networks, and dynamic for others, so there's no need to create an eth2.

koolio: I'm actually surprised your wireless link works. Even tho neither the wireless tools, nor the script provided in this forum are necessary for wireless connectivity to work, I figured wireless extensions -were- needed. But, that being said, no, you don't need this script or the wireless tools, tho I would strongly recommend the wireless tools, as they will at least allow you to manually control essid/wep keys as necessary. Now, I would also suggest this script, as it allows you to preset the otherwise manual settings you would have to go through each time. So in the case of home/school, you can set per-essid rules, dhcp for school, static ip/gateway for home. However, you will probably run into a problem: even tho your wireiess is working, it's registering as having no wireless extensions by iwconfig. This means that this script will probably not recognize eth1 as a wireless device, thus not enable itself on that device (basically the same problem I have, tho my iwconfig does register my device as having wireless extensions). This is as far as my knowledge of linux and the way this script works goes. Mr. Uber Lord may have better suggestions/ideas, so you may want to wait until he is able to respond before making any decisions . Hmm.. now that I think about it.. try this, and let me know if it still says no wireless extensions are found:

Code:

ifconfig eth1 up
iwconfig

-

In the mean time, I'm still having the same problem as posted earlier, and would appreciate any help ._________________Bastion

Hi - I've written in this thread before but I never got the problem resolved

I'm not sure if it's a dependency problem in the init-scripts or what..

What happens is that, when the wireless if is started, it also insists on starting net.eth0 (which is crap as that gets started last - overwriting my default gw - and thus means I can't get past my own subnet, until I down the eth0 again and fix the problem).

Wireless config will just work if you have an AP broadcasting it's ESSID, and without WEP enabled. The wireless config example is pretty clear as well.

If you just copy wireless.example to wireless, and edit the copy, you can always get back to your currently working settings by deleting wireless.

Your current setup will allow anyone to connect and monitor your internet traffic, so you should change it to enable WEP. The wireless config allows static ips for certain networks, and dynamic for others, so there's no need to create an eth2.

i see what you are saying, i will eventually get that done, but so far, i dont have any network problems, as i have restricted my wireless broadcats on the router settings to only 5 specific mac addresses, and only allow the exact range of ip addresses ( with the amount of computers i got )allowed to connected to the rest of the network. I i got 3 in my room directly into the router, then my router on wireless and my roomatas on the wireless also. I ve gone to 2 of my neighgbors ' places and tried to connected to my network and was unable to connect. I have 5 static ips that can connect, plus all mac addresses put in restriction. So far i havent had any breaches as i constantly monitor if anything but my computers are connected andi havent seen anyting able to conected I think mac address restriction is also another form of security. what do u guys think ?

Altho i still dont undersand why the iwconfig output returns no wireless extentions, my kernel is up to date, baselayout is installed, and so is wireless tools as well as wireless tools, i mean i ve done everything ( i think ) so if anyone can give me a hand on that, its be good.

Strange occurence, the wireless script won't recognize my device as having wireless extensions, which it does, then it gets brought up by dhcp anyway, just not using the wireless script. This bugs me, because I keep connecting to my neighbor's wireless if it comes up first.

....

This also seems to have the effect of making my entire system 'lag'.. each command in a terminal takes about 1 second to be executed. Any ideas?

Sounds like a driver/kernel/hardware problem. Could you post the relevant parts of dmesg and/or /var/log/messages? Obviosuly not the whole stuff - just stuff relating to either firmware or ra

EDIT - If wireless extensions come up after ifconfig ra0 up, edit /etc/init.d/wireless.sh and look for the wireless_pre_start function right near the end of the file. Then add "interface_up ${iface}" on a new line just before wireless_check_extensions

But after upgrading to 0.6.2 it says Hameed but with a bunch of random characters trailing. It connects just fine but I'm wondering why these random characters are there.

It's either a problem with your driver or wireless-tools. I changed that bit of code to use iwget -r instead if trying to parse the iwconfig output. When wireless tools matures, I'll be using more of iwgetid - the current version in ~x86 supports more stuff like working out the channel.

Hi - I've written in this thread before but I never got the problem resolved

I'm not sure if it's a dependency problem in the init-scripts or what..

What happens is that, when the wireless if is started, it also insists on starting net.eth0 (which is crap as that gets started last - overwriting my default gw - and thus means I can't get past my own subnet, until I down the eth0 again and fix the problem).