I'm using waproamd on my laptop to go between home and school wireless networks. It will detect wireless APs and pass a WEP key according to the AP's MAC address. The WEP keys are stored in files that are named after the MAC address of the corresponding AP, so when waproamd detects my home's wireless router it will look for the file that's named after the router's MAC address and pass the router the WEP key that's stored in that file. Likewise for access points at school.
Now I don't recognize networks by the MAC address of their APs, so I made a symlink to my home router's WEP key file and named it after the SSID. I'd like to do the same for school, but each building at school has a number of APs, so there are going to be a lot of MAC addresses. They all use the same SSID and WEP key.
What I was hoping to do was create empty files named after each AP's MAC address, make a symlink that points to all of them, and write the key in that file. It just saves me having to write it a dozen times or more. But the man page for ln doesn't mention an way to do that; it says if you have multiple targets, your link will be a directory populated with links named after the targets.
There may be a better way to do what I'm trying that I haven't come across yet. If anyone knows, for example, a way to make one link to several files (as mentioned above) and be able to add files to that link later (e.g., as I come across more access points at school and want to add them to the list), clue me in.
Now I don't recognize networks by the MAC address of their APs, so I made a symlink to my home router's WEP key file and named it after the SSID. I'd like to do the same for school, but each building at school has a number of APs, so there are going to be a lot of MAC addresses. They all use the same SSID and WEP key.
What I was hoping to do was create empty files named after each AP's MAC address, make a symlink that points to all of them, and write the key in that file. It just saves me having to write it a dozen times or more. But the man page for ln doesn't mention an way to do that; it says if you have multiple targets, your link will be a directory populated with links named after the targets.
There may be a better way to do what I'm trying that I haven't come across yet. If anyone knows, for example, a way to make one link to several files (as mentioned above) and be able to add files to that link later (e.g., as I come across more access points at school and want to add them to the list), clue me in.