Jump to content

interceptor its a linux thing :-(


lawn dart

Recommended Posts

Hi,

I have a UK Fon+ and after fighting with the cable it all worked and openWRT is working just fine. But, I can't set up the openVPN. Under XP, BT3 and Ubuntu 8 things just don't seem to install in the way that the episode or the Digininja say so. The key bits seem to be with the wireless on my laptop. The wpa_supplicant just seems to make no sense under XP, and very time I try and use it under Ubuntu or BT3 some unixie blithering nonsense about not being able to read a config file that is quite clearly there pops up and then something else about drivers.

Could anyone help? As though to a small child how do I get Ubuntu 8 or XP to connect to the wireless on what seems to be a happy little fon+ interceptor?

Link to comment
Share on other sites

I can't offer any support in XP and by the sound of it you are trying to run linux commands/apps in a windows environment so they will never work anyway.

If you want to try to get it to work in linux choose either BT or Ubuntu, work though my walk through at http://www.digininja.org/interceptor/install_walkthrough.php and when you get stuck post what you did and the error messages you are getting. I might be able to help you from there.

Link to comment
Share on other sites

OK, I wet back and started again, all from Ubuntu 8. The network manager is running

I went through the walkthru and these are the issues I hit:

after running opkg install *ipk

I get

* ERROR: Cannot satisfy the following dependencies for kmod-tun:

* kernel (=2.6.26.5-atheros-1) *

I don't know if kmod-tun actually installed at this point, I guess not.

When creating the unpack directory and then untarring the interceptor files an interceptor directory is created, I don't think this is a problem though as long as all the paths are changed

When I go to easy-rsa, I get a choice of directories 1.0 or 2.0, I went with 2.0, again probably no issue

all by the numbers after that until the wpa_supplicant command as the file wpa_supplicant.conf doesn't exist. So, I copy over the example file and add the SSID and PSK into the appropriate fields.

When I rerun wpa_supplicant I get a new line (and no errors) but nothing about "trying to associate"

about 30 second later Ubuntu (on a HP2133) hangs and locks up, it takes a power cycle to recover the pc.

If I connect through the network manager (no idea how to get it off) the PC also hangs about 30 seconds after the connection is made.

On the Fon the command "wlanconfig ath0 list" does briefly show a connection, then the connection is lost. No pings across the wireless are ever successfull. The fon seems to be doing everything it should apart from that first installer error.

The wireless dongle I'm using works with other wireless connections with ubuntu (and BT3).

Any ideas? and thanks for your time.

Link to comment
Share on other sites

OK, I wet back and started again, all from Ubuntu 8. The network manager is running

I went through the walkthru and these are the issues I hit:

after running opkg install *ipk

I get

* ERROR: Cannot satisfy the following dependencies for kmod-tun:

* kernel (=2.6.26.5-atheros-1) *

I don't know if kmod-tun actually installed at this point, I guess not.

It won't be installed and this is a show stopper if not installed. Looks like you have the ipk file for a different version of openwrt, make sure you get the package for your version.

When creating the unpack directory and then untarring the interceptor files an interceptor directory is created, I don't think this is a problem though as long as all the paths are changed

When I go to easy-rsa, I get a choice of directories 1.0 or 2.0, I went with 2.0, again probably no issue

Ye, I noticed that the other day after using the instructions for the first time in a long time, I'll try to get round to fixign it.

all by the numbers after that until the wpa_supplicant command as the file wpa_supplicant.conf doesn't exist. So, I copy over the example file and add the SSID and PSK into the appropriate fields.

When I rerun wpa_supplicant I get a new line (and no errors) but nothing about "trying to associate"

about 30 second later Ubuntu (on a HP2133) hangs and locks up, it takes a power cycle to recover the pc.

If I connect through the network manager (no idea how to get it off) the PC also hangs about 30 seconds after the connection is made.

On the Fon the command "wlanconfig ath0 list" does briefly show a connection, then the connection is lost. No pings across the wireless are ever successfull. The fon seems to be doing everything it should apart from that first installer error.

The wireless dongle I'm using works with other wireless connections with ubuntu (and BT3).

Any ideas? and thanks for your time.

Sounds like it is something to do with your wifi and not the Interceptor but I couldn't be sure. I hate any kind of auto connect network manager type thing so would definitely kill that. You can probably stop it with the init script but I'd just do a ps and look for the process, kill it directly.

The other networks you can connect to, are any WPA?

Link to comment
Share on other sites

I have had another go, fresh install of Ubuntu 9.10, reflashed the fonera+ and everything started OK.

I only get an error when I reach the wpa_supplicant line. The connection does not happen. There is no longer a wpa_supplicant.example file in Ubuntu but rather ones for open, wep, wpa-psk, wpa-enterprise etc. I'm not sure what I need, I have tried wpa-psk for the least errors (actually no errors, nothing happens but a CR/LF). Can anyone tell me the wpa_supplicant.conf file that is working?

The wifi card is now stable under ubuntu 9.10 and connects to lots of other stuff. The ipk's all installed without error (I used exaclty the versions indicated in the walk through rather than grabbing the latest)

I'm not 100% certain about openvpn, is there a demon to start? As the installer doesn't seem to have done this. Also, the certificate generation asks for an additonal field called "Name" which I just left blank.

Thanks and forgive the windows guy his dumb questions, and a happy new year.

lawn_dart

Link to comment
Share on other sites

This is my wpa_supplicant file which I would run like this

wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1

ap_scan=1

fast_reauth=1

network={
        ssid="interceptor"
        psk="seagate-int"
        priority=10
}

openvpn will be started up automatically by the startup scripts, you shouldn't need to touch it.

Link to comment
Share on other sites

TADA!! it works

The new wpa_supplicant file did it (with SSID change)

other changes I needed to do were:

redboot.pl needs fping (obviously) and the telnet library (less obvious)

server.conf needs to be changed to:

user nobody

group nogroup

The network manager in Ubuntu 9.10 has to be completely removed, disabling it will not do.

I have tried three wifi adaptors, all sort of worked but paying good money for a good adaptor is worth it (RealTek ones have been by far the most stable)

Thanks for your help, onto the next problem...............................

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...