Notices


Reply
Thread Tools
Posts: 75 | Thanked: 78 times | Joined on Jan 2010 @ Germany
#11
its ifconfig, not ipconfig

1. install rootsh
2. start terminal
3. type "sudo gainroot"
4. type "ifconfig"

ALTERNATIVE:
1. start terminal
2. type "/sbin/ifconfig"
 
Cartoon_Head's Avatar
Posts: 72 | Thanked: 15 times | Joined on Jan 2010 @ London, UK
#12
Not ipconfig, ifconfig

CH
 
Posts: 122 | Thanked: 19 times | Joined on Jan 2010 @ Denmark
#13
Originally Posted by eitama View Post
Oops, thx hcm, I confused chroot with rootsh.
Edited and corrected my post.

In order to use ipconfig you follow what I already wrote above.
http://talk.maemo.org/showpost.php?p=597854&postcount=5
thx the ipconfig works now.... but is it only for the wlan connection or do it allso take the gprs connection?

EDIT:

sorry my bad just needed to scroll up


thx again guys!

Last edited by infected69; 2010-04-07 at 11:05.
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#14
Originally Posted by infected69 View Post
thx the ipconfig works now.... but is it only for the wlan connection or do it allso take the gprs connection?

EDIT:

sorry my bad just needed to scroll up


thx again guys!
You can also type : "ifconfig wlan0"
or some other name, and then you see the one you want.

Also, in linux, the ifconfig command also allows you to modify configuration and not just view it like "ipconfig".
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 

The Following User Says Thank You to eitama For This Useful Post:
Posts: 466 | Thanked: 418 times | Joined on Jan 2010
#15
I found this thread only because I was wondering... wtf is with requiring root privileges to 'ping'? I use ping all the time, and by the way, no one mentioned that all you need to do is 'sudo ping xxx.xxx.xxx.xxx' where the IP address is the xxx.xxx.xxx.xxx.

Doing things as root is bad... and the fact that you have to use root privileges to do something as basic as ping is stupid.

There apparently is already a bug report out there https://bugs.maemo.org/show_bug.cgi?id=700

That's just nuts. Anyhow, thought I'd add a bit to this thread and say the above works, 'sudo ping' and 'sudo ifconfig'

slaapliedje
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#16
Originally Posted by slaapliedje View Post
I found this thread only because I was wondering... wtf is with requiring root privileges to 'ping'?
You always need root privileges (well, CAP_NET_RAWIO capability) to ping - it's just normally set-uid root which makes this transparent to users.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#17
On a related note I was also looking for traceroute and could not find it, but i did find mtr which is kind of a top-y kind of traceroute/ping tool.
Code:
Nokia-N900-02-8:~# apt-cache policy mtr-tiny
mtr-tiny:
  Installed: 0.75-3
  Candidate: 0.75-3
  Version table:
 *** 0.75-3 0
        500 http://repository.maemo.org fremantle/free Packages
        500 http://repository.maemo.org fremantle/free Packages
        100 /var/lib/dpkg/status
output looks like this

My traceroute [v0.75]
Nokia-N900-02-8 (0.0.0.0) Wed Apr 7 12:03:18 2010
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 192.168.1.1 0.0% 8 4.5 22.8 4.0 150.7 51.7
2. 10.214.96.1 12.5% 8 16.8 51.1 13.8 214.7 74.2
3. 24.25.32.85 0.0% 8 14.8 64.5 12.7 254.5 93.1
4. ge-0-1-0.rlghncpop-rtr1.southeast.rr.com 0.0% 8 17.3 67.3 17.3 230.9 86.2
5. ae-3-0.cr0.dca10.tbone.rr.com 0.0% 8 25.8 80.3 24.5 250.8 93.2
6. ae-2-0.pr0.dca10.tbone.rr.com 0.0% 8 24.5 91.6 24.5 235.0 81.2
7. 66.109.9.66 12.5% 8 22.9 64.9 22.9 245.8 81.3
8. 216.239.48.108 25.0% 8 25.3 31.8 25.1 59.0 13.4
9. 66.249.95.149 0.0% 8 39.3 62.6 32.7 209.9 60.4
10. 72.14.239.131 0.0% 7 33.4 73.2 33.4 224.0 70.6
72.14.239.127
11. 209.85.253.214 14.3% 7 34.4 61.5 34.1 161.4 50.1
209.85.253.218
209.85.253.209
12. gx-in-f99.1e100.net 0.0% 7 34.8 90.6 33.1 241.3 84.7

Last edited by quipper8; 2010-04-07 at 16:04.
 

The Following 2 Users Say Thank You to quipper8 For This Useful Post:
Posts: 122 | Thanked: 19 times | Joined on Jan 2010 @ Denmark
#18
Originally Posted by slaapliedje View Post
I found this thread only because I was wondering... wtf is with requiring root privileges to 'ping'? I use ping all the time, and by the way, no one mentioned that all you need to do is 'sudo ping xxx.xxx.xxx.xxx' where the IP address is the xxx.xxx.xxx.xxx.

Doing things as root is bad... and the fact that you have to use root privileges to do something as basic as ping is stupid.

There apparently is already a bug report out there https://bugs.maemo.org/show_bug.cgi?id=700

That's just nuts. Anyhow, thought I'd add a bit to this thread and say the above works, 'sudo ping' and 'sudo ifconfig'

slaapliedje
thx that makes it alot easier!
 
Posts: 10 | Thanked: 0 times | Joined on Jul 2010
#19
How can i undo all of this?
Can't uninstall roots
Doesn't work on my N900
 
Posts: 10 | Thanked: 0 times | Joined on Jul 2010
#20
Originally Posted by slaapliedje View Post
I found this thread only because I was wondering... wtf is with requiring root privileges to 'ping'? I use ping all the time, and by the way, no one mentioned that all you need to do is 'sudo ping xxx.xxx.xxx.xxx' where the IP address is the xxx.xxx.xxx.xxx.

Doing things as root is bad... and the fact that you have to use root privileges to do something as basic as ping is stupid.

There apparently is already a bug report out there https://bugs.maemo.org/show_bug.cgi?id=700

That's just nuts. Anyhow, thought I'd add a bit to this thread and say the above works, 'sudo ping' and 'sudo ifconfig'

slaapliedje
Can you tell me how i can ping without al of this doin?
Misschien in t nederlands

groetjes
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:39.