can NOT get ping to work

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> ARM or PPC based Hardware
Author Message
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Sun Oct 17, 2010 16:27    Post subject: can NOT get ping to work Reply with quote
can someone tell me if they see something wrong below PLEASE because no matter what it say --6 is no good except I'm using pin -6


BusyBox v1.13.4 (2010-10-12 04:43:01 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~# ping
BusyBox v1.13.4 (2010-10-12 04:43:01 CEST) multi-call binary

Usage: ping [OPTION]... host

Send ICMP ECHO_REQUEST packets to network hosts

Options:
-4, -6 Force IPv4 or IPv6 hostname resolution
-c CNT Send only CNT pings
-s SIZE Send SIZE data bytes in packets (default=56)
-I iface/IP Use interface or IP address as source
-W timeout Seconds to wait for the first response (default:10)
(after all -c CNT packets are sent)
-w deadline Seconds until ping exits (default:infinite)
(can exit earlier with -c CNT)
-q Quiet, only displays output at start
and when finished

root@DD-WRT:~# ping -6 -c 4 -I sixxs ipv6.aerasec.de
ping: invalid option -- 6
BusyBox v1.13.4 (2010-10-12 04:43:01 CEST) multi-call binary

Usage: ping [OPTION]... host

Send ICMP ECHO_REQUEST packets to network hosts

Options:
-4, -6 Force IPv4 or IPv6 hostname resolution
-c CNT Send only CNT pings
-s SIZE Send SIZE data bytes in packets (default=56)
-I iface/IP Use interface or IP address as source
-W timeout Seconds to wait for the first response (default:10)
(after all -c CNT packets are sent)
-w deadline Seconds until ping exits (default:infinite)
(can exit earlier with -c CNT)
-q Quiet, only displays output at start
and when finished

root@DD-WRT:~#

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17627
Location: Hesse/Germany

PostPosted: Sun Oct 17, 2010 20:42    Post subject: Reply with quote
then its compiled without v6 support.
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Fri Oct 22, 2010 0:01    Post subject: Reply with quote
Sash wrote:
then its compiled without v6 support.


thanks Sash it never occured to me. I just re-installed the OS in this machine, so it's time to install Suse and get cracking

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Sat Oct 23, 2010 3:58    Post subject: Reply with quote
I just tried the instructions in the wiki

http://www.dd-wrt.com/wiki/index.php/Compiling_DD-WRT_Sources

and it's a bad link, anyone know what the new one is?

I tried and failed to find it

I found this BUT it's V23 and I have V24 sp2

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
Pandora-Box
DD-WRT User


Joined: 09 Mar 2008
Posts: 200
Location: USA

PostPosted: Sat Oct 23, 2010 14:22    Post subject: Reply with quote
@rtoledo
Just enable /jffs on your router, of course if you can, and get ipkg at this link:
http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
This is for broadcom, so not sure if it will work on your router.
Do: ipkg install http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
and you should have ping6 working
Good Luck
P-B

_________________
Netgear R7000
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Sat Oct 23, 2010 16:00    Post subject: Reply with quote
Pandora-Box wrote:
@rtoledo
Just enable /jffs on your router, of course if you can, and get ipkg at this link:
http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
This is for broadcom, so not sure if it will work on your router.
Do: ipkg install http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
and you should have ping6 working
Good Luck
P-B


that's one of my problems I do not know if /jffs is a gui thing that can be turned on from there?

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
Pandora-Box
DD-WRT User


Joined: 09 Mar 2008
Posts: 200
Location: USA

PostPosted: Sat Oct 23, 2010 16:20    Post subject: Reply with quote
JFFS2 is GUI
Go to Administration Tab and there under Management Tab, closer to the bottom of the page, you should have an option for JFFS2 to enable and to clean.
There is a trick to do this:
When you enable JFFS2 go to the bottom of the page and click SAFE, but do not click Apply.
After you save it, go back check Clean JFFS2 and go to the bottom and this time click Apply Settings.
Router will reboot. It takes a longer while for it to reboot.
I, after this reboot, power router off and on.
When completed, go back to JFFS2 and check how much space you have available for your JFFS partition, it will tell you Total/Free=Available.
Since I use MEGA builds my jffs are very small or non-existing. So on one router, I had enough space to install ip6tables and ping6, on the other router my JFFS2 was 0B, so I run optware on this one, and everything runs from USB storage.

_________________
Netgear R7000
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Sat Oct 23, 2010 17:21    Post subject: Reply with quote
Pandora-Box wrote:
@rtoledo
Just enable /jffs on your router, of course if you can, and get ipkg at this link:
http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
This is for broadcom, so not sure if it will work on your router.
Do: ipkg install http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
and you should have ping6 working
Good Luck
P-B


here's where I am on it

root@DD-WRT:~# wget downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iput
ils-ping6_20071127-1_brcm-2.4.ipk
wget: not an http or ftp url: downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
root@DD-WRT:~# wget http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packag
es/iputils-ping6_20071127-1_brcm-2.4.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
iputils-ping6_200711 100% |*******************************| 17882 --:--:-- ETA
root@DD-WRT:~# ipkg
ipkg: ipkg must have one sub-command argument

usage: ipkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
update Update list of available packages
upgrade Upgrade all installed packages to latest version
install <pkg> Download and install <pkg> (and dependencies)
install <file.ipk> Install package <file.ipk>
install <file.deb> Install package <file.deb>
remove <pkg> Remove package <pkg>

Informational Commands:
list List available packages and descriptions
files <pkg> List all files belonging to <pkg>
search <file> Search for a packaging providing <file>
info [pkg [<field>]] Display all/some info fields for <pkg> or all
status [pkg [<field>]] Display all/some status fields for <pkg> or all
depends <pkg> Print uninstalled package dependencies for <pkg>

Options:
-d <dest_name> Use <dest_name> as the the root directory for
-dest <dest_name> package installation, removal, upgrading.
<dest_name> should be a defined dest name from the
configuration file, (but can also be a directory
name in a pinch).
-o <offline_root> Use <offline_root> as the root for offline installation.
-offline <offline_root>

Force Options (use when ipkg is too smart for its own good):
-force-depends Make dependency checks warnings instead of errors
-force-defaults Use default options for questions asked by ipkg.
(no prompts). Note that this will not prevent
package installation scripts from prompting.

root@DD-WRT:~# http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/ip
utils-ping6_20071127-1_brcm-2.4.ipk
-sh: http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk: not found
root@DD-WRT:~# ipkg install iputils-ping6_20071127-1_brcm-2.4.ipk
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
You probably want to run `ipkg update'
mkdir: cannot create directory '/usr/local/tmp/': Operation not permitted
root@DD-WRT:~# ipkg update
mkdir: cannot create directory '//usr/local/lib/': Operation not permitted
root@DD-WRT:~#

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Sat Oct 23, 2010 17:30    Post subject: Reply with quote
While I'm doing this , I'm also flashing redboot to another REV C Actiontec.

I had forgotten what a pain in the neck it is to flash this router! Son of a bit**

I think I finally got redboot in it, but I can't for the life of me get that redlight to turn on the "internet" light , then after 30 tries of holding in the RESET button while booting it, I got the light to stay red

but no joy telnet 192.168.1.1 9000 I just get no response

I went through this same ordeal with my EDGE router that is running DD-WRT :cry:

I have also just let it boot as the instruction/comments on the Openwrt wiki say that it will default to 192.168.1.1 if DCHP fails

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Sat Oct 23, 2010 17:57    Post subject: Reply with quote
root@DD-WRT:~# cd /jffs
root@DD-WRT:/jffs# ls
root@DD-WRT:/jffs# ipkg install iputils-ping6_20071127-1_brcm-2.4.ipk
File not found iputils-ping6_20071127-1_brcm-2.4.ipk
ls: /usr/local/tmp/ipkg: No such file or directory
root@DD-WRT:/jffs# http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/package
s/iputils-ping6_20071127-1_brcm-2.4.ipk
-sh: http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk: not found
root@DD-WRT:/jffs# wget http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/pa
ckages/iputils-ping6_20071127-1_brcm-2.4.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
wget: can't open 'iputils-ping6_20071127-1_brcm-2.4.ipk': Permission denied
root@DD-WRT:/jffs# wget http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/pa
ckages/iputils-ping6_20071127-1_brcm-2.4.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
wget: can't open 'iputils-ping6_20071127-1_brcm-2.4.ipk': Permission denied
root@DD-WRT:/jffs# ipkg install iputils-ping6_20071127-1_brcm-2.4.ipk
File not found iputils-ping6_20071127-1_brcm-2.4.ipk
ls: /usr/local/tmp/ipkg: No such file or directory
root@DD-WRT:/jffs#


must be missing something here, like how to access the file in the router and installl it in the /jffs


root@DD-WRT:/jffs# cd ..
root@DD-WRT:/# ls
bin etc lib mnt proc sys usr www
dev jffs mmc opt sbin tmp var
root@DD-WRT:/# cd jffs
root@DD-WRT:/jffs# ls -A
root@DD-WRT:/jffs#

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
Pandora-Box
DD-WRT User


Joined: 09 Mar 2008
Posts: 200
Location: USA

PostPosted: Sat Oct 23, 2010 21:55    Post subject: Reply with quote
When at command prompt on your router, if jffs is installed, type:
root@dd-wrt:~#ipkg install http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
That command: ikpg install {package-url} will get your ipkg and it will install it.
Just copy from here and paste to your router command prompt
Do not use wget
P-B

_________________
Netgear R7000
rtoledo
DD-WRT User


Joined: 18 Mar 2007
Posts: 99

PostPosted: Sun Oct 24, 2010 20:54    Post subject: Reply with quote
Pandora-Box wrote:
When at command prompt on your router, if jffs is installed, type:
root@dd-wrt:~#ipkg install http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk
That command: ikpg install {package-url} will get your ipkg and it will install it.
Just copy from here and paste to your router command prompt
Do not use wget
P-B


this is what I'm getting below.


==========================================================

____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|

DD-WRT v24-sp2
http://www.dd-wrt.com

==========================================================


BusyBox v1.13.4 (2010-10-12 04:43:01 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~# ipkg install http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/ipu
tils-ping6_20071127-1_brcm-2.4.ipk
Downloading http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
wget: can't open '/usr/local/tmp/ipkg/iputils-ping6_20071127-1_brcm-2.4.ipk': No such file or directory
ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/snapshots/trunk/brcm-2.4/packages/iputils-ping6_20071127-1_brcm-2.4.ipk, returning
ls: /usr/local/tmp/ipkg: No such file or directory
root@DD-WRT:~#

_________________
_________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
Pandora-Box
DD-WRT User


Joined: 09 Mar 2008
Posts: 200
Location: USA

PostPosted: Sun Oct 24, 2010 22:52    Post subject: Reply with quote
There is something very strange with your download PATH.
As far as I know, on dd-wrt, only /tmp is temporarily writable, all the other dirs are read only.
Is your JFFS2 enabled? How much space is there available (use df -h or df -k)
Also, you can manually direct ipkg to download to a selected location (type ipkg without any switch and it will give you destination switches).
Finally, if you are searching for a file use this command: find / -name '*.ipk*'
It will search all locations starting with the most top directory "/" (=system root, not root-root).
Another option, maybe change to /jffs directory before you start ipkg install.
Otherwise, nothing else comes to my mind why it wants to download packages to /usr.... directory.
Best Luck
P-B

_________________
Netgear R7000
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> ARM or PPC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum