Yousef Hanoun Posted April 14, 2009 Share Posted April 14, 2009 Hi, i want to make a vpn connection to dial to vpn server so client connected to Jasager will have internet through. but when i try to go to this link http://192.168.1.1/cgi-bin/webif/vpn-openvpn.sh i get this OpenVPN Installing openvpn package ... Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package openvpn. Check the spelling or perhaps run 'ipkg update' Downloading http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages wget: bad address 'downloads.openwrt.org' Downloading http://downloads.openwrt.org/kamikaze/packages/mips/Packages wget: bad address 'downloads.openwrt.org' Downloading http://downloads.x-wrt.org/xwrt/kamikaze/7.09/atheros-2.6/packages/Packages wget: bad address 'downloads.x-wrt.org' An error ocurred, return value: 3. Collected errors: ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-2blcp9 http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages' ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-2blcp9 http://downloads.openwrt.org/kamikaze/packages/mips/Packages' ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-2blcp9 http://downloads.x-wrt.org/xwrt/kamikaze/7.09/atheros-2.6/packages/Packages' Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package openvpn. Check the spelling or perhaps run 'ipkg update' which mean FON can not connect to internet to download the package ?! then i uploaded openvpn_2.0.9-5_mips.ipk using winSCP and then tried to install but i get the following error. root@OpenWrt:~# ipkg install openvpn_2.0.9-5_mips.ipk Installing openvpn (2.0.9-5) to root... Nothing to be done An error ocurred, return value: 28. Collected errors: Only have 0 available blocks on filesystem /, pkg openvpn needs 385 root@OpenWrt:~# please help Quote Link to comment Share on other sites More sharing options...
digininja Posted April 14, 2009 Share Posted April 14, 2009 There are a few other discussions on what to do when you get that message, have a search in this forum and you should be able to find them. Quote Link to comment Share on other sites More sharing options...
Yousef Hanoun Posted April 18, 2009 Author Share Posted April 18, 2009 thanks again. ok now Fon is connected to internet using ICS with DHCP on FON in LAN network , but failed to find the package plz help i did check the fourm nothing usefull found. root@OpenWrt:~# ipkg update Downloading http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/Packages Updated list of available packages in /usr/lib/ipkg/lists/release Downloading http://downloads.openwrt.org/kamikaze/packages/mips/Packages wget: server returned error: HTTP/1.1 404 Not Found Downloading http://downloads.x-wrt.org/xwrt/kamikaze/7.09/atheros-2.6/packages/Packages Updated list of available packages in /usr/lib/ipkg/lists/X-Wrt An error ocurred, return value: 1. Collected errors: ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-UCMjJw http://downloads.openwrt.org/kamikaze/packages/mips/Packages' root@OpenWrt:~# ipkg search openvpn Done. root@OpenWrt:~# ipkg install openvpn Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package openvpn. Check the spelling or perhaps run 'ipkg update' Quote Link to comment Share on other sites More sharing options...
digininja Posted April 18, 2009 Share Posted April 18, 2009 If you read the error message it is getting a 404 (not found) message when it tries to download the package. That probably means the url is wrong for some reason. Find it by hand, download it, put it on the Fon then install the package that way. Quote Link to comment Share on other sites More sharing options...
Yousef Hanoun Posted April 20, 2009 Author Share Posted April 20, 2009 thanks again, that what i did when i used openvpn_2.0.9-5_mips.ipk but i recived the following error root@OpenWrt:~# ipkg install openvpn_2.0.9-5_mips.ipk Installing openvpn (2.0.9-5) to root... Nothing to be done An error ocurred, return value: 28. Collected errors: Only have 0 available blocks on filesystem /, pkg openvpn needs 385 root@OpenWrt:~# could please advise which package did you use it. thanks, Yousef Quote Link to comment Share on other sites More sharing options...
digininja Posted April 20, 2009 Share Posted April 20, 2009 is it already installed then? Have you tried running openvpn to see what happens? Quote Link to comment Share on other sites More sharing options...
Yousef Hanoun Posted April 21, 2009 Author Share Posted April 21, 2009 installation did not complete there was an error! Quote Link to comment Share on other sites More sharing options...
digininja Posted April 22, 2009 Share Posted April 22, 2009 It usually says "Nothing to be done" when the package is already installed, looks like the package list has been messed up. You could either do a re-glash and try again or manually install the package by hand. To do it by hand, on your linux box untar the package tar -xvzf openvpn_2.0.9-5_mips.ipk this will give you data.tar.gz and control.tar.gz untar control.gz and see if there is a preinst or postinst file. Preinst gets executed before the install and postinst is afterwards, I doubt there will be a pre but there may be a post. untar data.tar.gz and copy the file structure created to the root of the fon. Run any postinst instructions. That should do it for you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.