I'm abandoning further attempts to get wireless and sound working. I'll probably keep the partition and use it for beta testing 64-bit VectorLinux.
Turn off all encryption on your wireless router. See what IP range it assigns to the wireless and local wired ethernet ports (Likely 192.168.0.xxx, but some may have another number instead of 0 in the third octet.) Also note the channel number and ESSID string it's assigning for wireless access.
Do the following as root.
On the linux box, look at /var/log/messages or dmesg to see what interface name it assigns to the wireless driver. (Likely wlan0, which is assumed in commands below. Adjust commands accordingly.)
Do "iwconfig" by itself and make sure the wireless interface is shown.
If you have a wired ethernet interface (likely eth0), disconnect it.
Type 'route' and note what you see. There may be some routes associated with eth0.
Type 'killall dhcpcd' and repeat that until you see 'no process killed'. This makes sure no lurking dhcpcd processes are trying to get IP assignments.
Type 'ifconfig eth0 down' This will get get rid of any conflicting eth0 wired routes.
Type 'route' again. You should see just the loopback entry to the 'lo' interface.
Set up the wireless parameters with iwconfig (assuming wlan0 is the name):
iwconfig wlan0 channel N (Put whatever channel number the router's using for N.)
iwconfig wlan0 essid any (or enter the router's ESSID - put " " around name if it has
spaces) NOTE: VL wireless scripts do *not* handle ESSIDs
with spaces properly!
iwconfig wlan0 mode managed (Sets managed mode, which router should be using.)
iwconfig wlan0 rate auto (Finds a rate to use. I've seen auto not work
on some drivers. You can try 11M or 1M also which may be
more stable than higher numbers. Once things work, you
can play with others.)
Now type 'iwconfig' by itself and see if values match what you entered. If not, you can try
iwconfig wlan0 commit (some cards/drivers may need this. mine don't.)
Once you see what's set is what you need, try bringing up the interface with ifconfig (or dhcpcd as described later).
ifconfig wlan0 192.168.0.100 up (pick some unused IP that's within the network that the
router assigns to the local side)
At this point, run 'iwconfig' again. If successful, you'll see it say it's associated with the wireless router's wireless side MAC address.
If it's associated, look at 'route' again. You should see a route line for the router's network that's using wlan0. The network shown would be 192.168.0.0 in this case, which means all packets to 192.168.0.xxx go via wlan0.
At this point, you should be able to ping the IP the router's using for it's local side. You will *NOT* be able to access the Internet yet, even if that works.
If you can ping the router's IP, now add a default route:
route add default gw 192.168.0.1 wlan0 (Put the router's IP for the gateway address. This
says all packets not explicitly routed elsewhere
go to the gateway [router's IP] via wlan0.)
At this point, you'd be on the Internet, but you'll need to manually enter DNS server IP information into /etc/resolv.conf file in order to access sites by name rather than raw IP numbers.
If all this works, you can skip several steps above and have dhcpcd bring up the route, set the default route, and get the dns info for you. At the point mentioned above, instead of bringing the interface up with ifconfig, just do:
This may sit for some time as it tries to do its thing. If the program finishes successfully, run 'ifconfig' to see what IP it got, and 'route' to see the routing is ok.
Hope this helps some.