Hello everyone. Known about FreeBSD for years (still have a copy of 4.1 somewhere). Wanting to migrate from linux because its just getting ridiculous anymore. This will be a bit long winded so I thank you in advance for taking the time to read.
Well after much handbook reading and forum hopping, I almost have my network setup. I have PC-BSD on a secondary drive in my system to test it out before committing to my main drive. My wireless NIC is not directly supported so I had to resort to ndisgen. After much tinkering I got my RTL8185 chipset working. I have however run into a few minor(?) problems. The graphical network manager was no help at all to me, so I had to resort to manually configuring.
My lan is setup with an ADSL router/modem with a wireless router connected to it. Routing is turned off on the wireless router, it is only an access point for the router/modem. The router/modem is set up to allow 5 clients to connect via DHCP but I have setup all machines on the lan to have static IPs. The router/modem has the DNS IPs (OpenDNS) configured into it so it becomes my nameserver on my lan.
modem/router ip: 192.168.2.1
wireless router ip: 192.168.2.50
1) System is set up to load ndis, if_ndis, and rtl8185 modules during boot. They do load as kldstat shows but the interfaces do not appear. Manually unloading and loading the rtl8185 module creates and initializes the device.
I have added these lines to my /boot/loader.conf:
2) System can connect to wlan and can ping all machines connected to it. ping(ing) machines outside the lan i.e. google.com results in a "no route to host" error. Names are being resolved. Essentially I cannot connect to the 'internet'. I believe this is a routing issue but I am not sure how to resolve this issue.
My routing table from netstat -r:
3) Only happened while trying to set everything up but when it loses its connection to the wireless router due to bad signal or what have you it goes into an endless authentication loop. It tries to authenticate but continually times out. Not too sure about this one as it did not happen often.
ifconfig output for the relevant device:
rc.conf network seciton:
wpa_supplicant.conf
and my resolv.conf
Thank you for taking the time to read this!
Well after much handbook reading and forum hopping, I almost have my network setup. I have PC-BSD on a secondary drive in my system to test it out before committing to my main drive. My wireless NIC is not directly supported so I had to resort to ndisgen. After much tinkering I got my RTL8185 chipset working. I have however run into a few minor(?) problems. The graphical network manager was no help at all to me, so I had to resort to manually configuring.
My lan is setup with an ADSL router/modem with a wireless router connected to it. Routing is turned off on the wireless router, it is only an access point for the router/modem. The router/modem is set up to allow 5 clients to connect via DHCP but I have setup all machines on the lan to have static IPs. The router/modem has the DNS IPs (OpenDNS) configured into it so it becomes my nameserver on my lan.
modem/router ip: 192.168.2.1
wireless router ip: 192.168.2.50
1) System is set up to load ndis, if_ndis, and rtl8185 modules during boot. They do load as kldstat shows but the interfaces do not appear. Manually unloading and loading the rtl8185 module creates and initializes the device.
I have added these lines to my /boot/loader.conf:
Code:
ndis_load="YES"
if_ndis_load="YES"
rtl8185_load="YES"
2) System can connect to wlan and can ping all machines connected to it. ping(ing) machines outside the lan i.e. google.com results in a "no route to host" error. Names are being resolved. Essentially I cannot connect to the 'internet'. I believe this is a routing issue but I am not sure how to resolve this issue.
My routing table from netstat -r:
Code:
Internet:
Destination Gateway Flags Refs Use Netif Expire
10.1.1.1 link#5 UH 0 2 lo1
localhost link#2 UH 0 6 lo0
192.168.2.0 link#7 U 1 17 wlan0
192.168.2.41 link#7 UHS 0 0 lo0
3) Only happened while trying to set everything up but when it loses its connection to the wireless router due to bad signal or what have you it goes into an endless authentication loop. It tries to authenticate but continually times out. Not too sure about this one as it did not happen often.
ifconfig output for the relevant device:
Code:
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether xx:xx:xx:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether xx:xx:xx:xx:xx:xx
inet 192.168.2.41 netmask 0xffffff00 broadcast 192.168.2.255
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid <ssid> channel 6 (2437 MHz 11g) bssid xx:xx:xx:xx:xx:xx
country US authmode WPA privacy OFF txpower 0 bmiss 7 mcastrate 0
mgmtrate 0 scanvalid 60 protmode CTS roaming MANUAL
rc.conf network seciton:
Code:
NIC="ndis"
gateway_enable="YES"
hostname="<system name>.localhost"
wlans_ndis0="wlan0"
ifconfig_wlan0="inet 192.168.2.41 netmask 255.255.255.0 ssid <ssid> WPA"
defaultrouter="192.168.2.1"
wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="<ssid>"
priority=145
scan_ssid=1
key_mgmt=WPA-PSK
psk="<wpa key>"
}
and my resolv.conf
Code:
nameserver 192.168.2.1
Thank you for taking the time to read this!