johnnyo1012 Posted November 1, 2017 Share Posted November 1, 2017 Hi, I am looking at buying a pocket squirrel to connect to a vpn. If I plug an Ethernet cable from my computer to pocket squirrel can I connect the squirrel to the internet using a wifi adapter in the usb port? I do not have an ethernet cable to connect the squirrel to the internet. Please let me know ASAP. Thanks. Link to comment Share on other sites More sharing options...
Dave-ee Jones Posted November 1, 2017 Share Posted November 1, 2017 At the moment, no. Hopefully that will change later on :) Link to comment Share on other sites More sharing options...
Sebkinne Posted November 1, 2017 Share Posted November 1, 2017 42 minutes ago, Dave-ee Jones said: At the moment, no. Hopefully that will change later on :) Actually, with firmware v1.1 you can :) Link to comment Share on other sites More sharing options...
Dave-ee Jones Posted November 1, 2017 Share Posted November 1, 2017 28 minutes ago, Sebkinne said: Actually, with firmware v1.1 you can :) In my defense you only just released v1.1 :P Link to comment Share on other sites More sharing options...
johnnyo1012 Posted November 1, 2017 Author Share Posted November 1, 2017 So I can use a wifi adapter with firmware v1.1? Link to comment Share on other sites More sharing options...
Just_a_User Posted November 1, 2017 Share Posted November 1, 2017 40 minutes ago, johnnyo1012 said: So I can use a wifi adapter with firmware v1.1? Yes, i havent played with it yet, just plugged it in. I have been trying out my 3g modem at the moment. Link to comment Share on other sites More sharing options...
HeavyVin Posted November 1, 2017 Share Posted November 1, 2017 10 hours ago, Sebkinne said: Actually, with firmware v1.1 you can :) @SebkinneSo now we can use it as a bridge? This is becoming more deserving of being called a multi-tool. Link to comment Share on other sites More sharing options...
b0N3z Posted November 1, 2017 Share Posted November 1, 2017 ive used 2 different usb wifi dongles 1. RT5370 2. RT2870 with no luck. both are the same as whats in the hakshop. FW 1.1 [ 1962.450000] usb 1-1: new high-speed USB device number 4 using ehci-platform [ 1962.750000] usb 1-1: reset high-speed USB device number 4 using ehci-platform [ 1962.910000] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected [ 1962.940000] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 5370 detected [ 1962.950000] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht' root@squirrel:~# Link to comment Share on other sites More sharing options...
UnLo Posted November 1, 2017 Share Posted November 1, 2017 hrm. interesting. i'll have to try this out when i get home. Link to comment Share on other sites More sharing options...
b0N3z Posted November 1, 2017 Share Posted November 1, 2017 there is no config in the /etc/config/network or /etc/config/firewall for wlan0 Link to comment Share on other sites More sharing options...
Dave-ee Jones Posted November 1, 2017 Share Posted November 1, 2017 1 hour ago, b0N3z said: there is no config in the /etc/config/network or /etc/config/firewall for wlan0 Yeah, that's why I was skeptical. You can't just plug a WiFi adapter into a USB port and expect it to instantly allow the device to connect or create a WiFi network..Sebkinne should know this better than most of us. Link to comment Share on other sites More sharing options...
b0N3z Posted November 2, 2017 Share Posted November 2, 2017 15 hours ago, Dave-ee Jones said: Yeah, that's why I was skeptical. You can't just plug a WiFi adapter into a USB port and expect it to instantly allow the device to connect or create a WiFi network..Sebkinne should know this better than most of us. im going to make a short how to in a little bit to add the config files Link to comment Share on other sites More sharing options...
johnnyo1012 Posted November 2, 2017 Author Share Posted November 2, 2017 Does this mean I can use a WiFi adapter if I install the files on it? If so, please make the video. Link to comment Share on other sites More sharing options...
b0N3z Posted November 2, 2017 Share Posted November 2, 2017 the software is installed on the PS already the config files aren't setup yet. Link to comment Share on other sites More sharing options...
johnnyo1012 Posted November 2, 2017 Author Share Posted November 2, 2017 So if I edit config files it will work? Link to comment Share on other sites More sharing options...
HeavyVin Posted November 2, 2017 Share Posted November 2, 2017 33 minutes ago, johnnyo1012 said: So if I edit config files it will work? It should Link to comment Share on other sites More sharing options...
Darren Kitchen Posted November 3, 2017 Share Posted November 3, 2017 Yep, it's just a matter of adding the right /etc/config/network, /etc/config/wireless and /etc/config/firewall configs. Will make some time to do a write-up. Link to comment Share on other sites More sharing options...
EvilMutley Posted November 3, 2017 Share Posted November 3, 2017 So would this be possible to tunnel WiFi traffic through the vpn, as a encrypted access point. Only just received my squirrel but don't have a compatible WiFi dongle. Link to comment Share on other sites More sharing options...
johnnyo1012 Posted November 7, 2017 Author Share Posted November 7, 2017 On 11/2/2017 at 9:47 AM, b0N3z said: im going to make a short how to in a little bit to add the config files Has anyone made video yet? I really need this. I have my packet squirrel now. Thanks. Link to comment Share on other sites More sharing options...
b0N3z Posted November 7, 2017 Share Posted November 7, 2017 13 hours ago, johnnyo1012 said: Has anyone made video yet? I really need this. I have my packet squirrel now. Thanks. Unfortunately I have not had time to mess with it yet due to work and family. Darren said something about making an easy script to set everything up. Link to comment Share on other sites More sharing options...
EvilMutley Posted November 7, 2017 Share Posted November 7, 2017 I'm sure Seb mentioned there is an openwrt wiki with instructions on how to get the WiFi connected. Not tried myself as yet to busy with work untill the weekend. Link to comment Share on other sites More sharing options...
Just_a_User Posted November 7, 2017 Share Posted November 7, 2017 I think the information is here https://wiki.openwrt.org/doc/uci/wireless and here https://wiki.openwrt.org/doc/howto/clientmode I'm just about to have a play with mine after some food. maybe i get somewhere, maybe I don't :) Link to comment Share on other sites More sharing options...
Just_a_User Posted November 7, 2017 Share Posted November 7, 2017 I'm missing something and i'm not sure what. So far I have done the following after a firmware recovery flash and update: - 1. Check my USB wifi adapter is recognized by the Squirrel using "ifconfig -a" if you see a wlan0 then you should be good to go, 2. Created a wireless config using "wifi detect > /etc/config/wireless" as a starting point and edited it to read the following: - config wifi-device radio0 option type 'mac80211' option channel 'auto' option hwmode '11g' option path 'platform/ehci-platform/usb1/1-1/1-1:1.0' option htmode 'HT20' # REMOVE THIS LINE TO ENABLE WIFI: option disabled '0' config wifi-iface option device 'radio0' option network 'wlan' option mode 'sta' option ssid 'MYROUTERSSSID' option encryption 'psk2' option key 'MYROUTERSPASSWORD' 3. Edited /etc/config/network to read: - config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'lan' option ifname 'eth0' option proto 'static' option ipaddr '172.16.32.1' option netmask '255.255.255.0' option ip6assign '60' config interface 'wan' option ifname 'eth1' option proto 'dhcp' config interface 'wan6' option ifname '@wan' option proto 'dhcpv6' config interface 'wlan' option proto 'dhcp' 4. Edited /etc/config/firewall to include the following : - config zone option name 'wlan' list network 'wlan' option input 'ACCEPT' option output 'ACCEPT' option forward 'ACCEPT' config forwarding option src 'lan' option dest 'wlan' config forwarding option src 'wlan' option dest 'lan' 5. restart networking "/etc/init.d/network restart" 6. Check if i get an IP from the router using ifconfig... but nope, not yet. I'm drinking plus "watching" TV so not really paying attention to both :) anyone spot whats up? @b0N3z @Dave-ee Jonesor anyone? plz check it over :) EDIT - my hunch is missing WPA_supplicant to deal with encryption. Will try on an open network later to confirm. Link to comment Share on other sites More sharing options...
b0N3z Posted November 7, 2017 Share Posted November 7, 2017 @Just_a_User I was about to ask how to get it working all together.... then I looked down at the unplugged cable and it dawned on me, Ive been up far to long and had to many greens for function but im goin to give this a go Edit: I got it to show up on a standard "ifconfig" as wlan1 lol Link to comment Share on other sites More sharing options...
b0N3z Posted November 8, 2017 Share Posted November 8, 2017 @Just_a_User I have gone a different route here. i have installed hostapd-mini and got an AP up but it wont resolve an IP address to the device connecting to it. Didnt have anymore time to play with it yesterday. Hopefully today I can get something more out of it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.