01-28-2015 07:11 AM
Hi Jayraj,
how did you configure the /etc/network/interface and wpa_supplicant.conf files?
Do you mind sharing those files?
Thanks
Luca
01-29-2015 10:20 PM
Hi Luca
Sorry for the late reply. As I am new to RIO devices and to Linux platform, I did refer to some online resources to configure the files, but I think none of them worked out and I ended up using the original one. I am attaching both the files for your reference (I also had to use one .bin file for the usb driver which I downloaded from Linux repository). Let me know if it worked for you as well.
Thanks
Jayaraj
01-30-2015 06:29 AM
One little update. running ps I don't see the wpa_supplicant in the processes and also in /var/run/wpa_supplicant I don't see the PID.
ifconfig gives me this output:
admin@NI-sbRIO-9651-030707e8:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:2F:19:42:10
inet addr:192.168.0.127 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::280:2fff:fe19:4210/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5966 errors:0 dropped:443 overruns:0 frame:0
TX packets:1345 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:558602 (545.5 KiB) TX bytes:344541 (336.4 KiB)
Interrupt:54 Base address:0xb000
eth1 Link encap:Ethernet HWaddr 00:80:2F:19:42:11
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:77 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:138 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12736 (12.4 KiB) TX bytes:12736 (12.4 KiB)
usb0 Link encap:Ethernet HWaddr 00:80:2F:19:42:12
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr E8:4E:06:1C:3B:8B
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
02-02-2015 10:54 PM
Luca
Looking at your ifconfig, this is what I used to get when I started interfacing with usb WiFi. I had also tried setting up an adhoc network using Linux commands, which had worked for me. Were you able to proceed and see the MAX configuration?
Jayaraj
02-02-2015 10:55 PM
Hi All
A problem that I face is, MAX allows me to configure wifi in DHCP only and the IP (172.16.0.1) and subnet mask (255.240.0.0) that it assigns to it is constant. It is unable to provide IP address to its clients and I have to switch to manual IP assignment based on the subnet mask that is shown in MAX. Is there any solution for this?
Update: I modified functions.common file in /etc/natinst/networking/ to change the subnet mask to commonly used ones, but the IP that the client receives is bogus, unless I configure it manually. I am unaware as to how to configure the networking files for the DHCP to run smoothly. Any idea?
Thanks
Jayaraj
03-06-2015 08:34 AM
Hi All
I face the same problem as mentioned above. I am able to access the MAX page and select the 'create wireless network' option, but the dhcp server is not able to give IP to my PC which tries to connect to it. Only when my PC is configured for a static IP with the same subnet mask will it get connected to the SOM.
Arya