Starting Telnetd


djrose

Still Fresh
Joined
Aug 30, 2007
Messages
8
I'd like to set up a remote connection to my Pandora, but I'm not too familiar with Linux.

What are the options for doing it? I tried starting telnetd, but was told it "Cannot possibly work without effective root".

I then tried doing an su, but don't know the password.

Sorry if this sounds dumb, but I've done a search and not managed to find an answer.

Thanks.
 
djrose said:
I'd like to set up a remote connection to my Pandora, but I'm not too familiar with Linux.

What are the options for doing it? I tried starting telnetd, but was told it "Cannot possibly work without effective root".

I then tried doing an su, but don't know the password.

Sorry if this sounds dumb, but I've done a search and not managed to find an answer.

Thanks.

You should use SSH, as that is already setup and working on the Pandora. Also, Telnet is unsecured.
You can use a tool like Putty if you're on the PC.
Just ssh to your Pandora and login with your name :)
 
Last edited:
I use telnet all the time at work. Don't think the version of Vxworks I deal with has ssh.
 
So the Pandora has a SSH server running by default ??
Isn't that a bad idea with people using no or relatively insecure password.

Installing / enabling a SSH Server should be easy but I don't think it should be running by default.
 
Thanks for the replies. I'll give ssh a try.

Out of interest, and just carrying on with one of my questions, what would the password be for su? Or is it of no use?
 
marshal said:
So the Pandora has a SSH server running by default ??
Isn't that a bad idea with people using no or relatively insecure password.

Installing / enabling a SSH Server should be easy but I don't think it should be running by default.
I highly doubt there is a SSH server running. But a SSH client is installed by default of course!
 
Last edited by a moderator:
Spirit said:
marshal said:
So the Pandora has a SSH server running by default ??
Isn't that a bad idea with people using no or relatively insecure password.

Installing / enabling a SSH Server should be easy but I don't think it should be running by default.
I highly doubt there is a SSH server running. But a SSH client is installed by default of course!

Well the original question was "to set up a remote connection to my Pandora"... but your're right this need clarification.
 
Last edited by a moderator:
marshal said:
Spirit said:
marshal said:
So the Pandora has a SSH server running by default ??
Isn't that a bad idea with people using no or relatively insecure password.

Installing / enabling a SSH Server should be easy but I don't think it should be running by default.
I highly doubt there is a SSH server running. But a SSH client is installed by default of course!

Well the original question was "to set up a remote connection to my Pandora"... but your're right this need clarification.

I don't think sshd is running by default - refer to the ps ax from laurens post (ps ax result)
 
Last edited by a moderator:
Yes, mine seems to have an SSH server running out of the box. Funny there also seems to be an http server (port 80) running as well.

(edit)

I may have started the http server myself.
 
mQQm said:
Yes, mine seems to have an SSH server running out of the box. Funny there also seems to be an http server (port 80) running as well.

(edit)

I may have started the http server myself.

odd - apache httpd? could you do a ps of the running processes and post them here. thanks.
 
Last edited by a moderator:
Yep i must of started the httpd server while I was mucking about. Its gone after a reboot. Here's a PS anyway.

Code:
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 00:22 ?        00:00:04 init [5]
root         2     0  0 00:22 ?        00:00:00 [kthreadd]
root         3     2  0 00:22 ?        00:00:00 [ksoftirqd/0]
root         4     2  0 00:22 ?        00:00:00 [watchdog/0]
root         5     2  0 00:22 ?        00:00:00 [events/0]
root         6     2  0 00:22 ?        00:00:00 [khelper]
root       100     2  0 00:22 ?        00:00:00 [kblockd/0]
root       106     2  0 00:22 ?        00:00:00 [kseriod]
root       113     2  0 00:22 ?        00:00:00 [twl4030-irqchip]
root       114     2  0 00:22 ?        00:00:00 [twl4030-irq]
root       133     2  0 00:22 ?        00:00:00 [omap2_mcspi]
root       146     2  0 00:22 ?        00:00:00 [khubd]
root       152     2  0 00:22 ?        00:00:00 [kmmcd]
root       158     2  0 00:22 ?        00:00:00 [btaddconn]
root       159     2  0 00:22 ?        00:00:00 [btdelconn]
root       180     2  0 00:22 ?        00:00:00 [pdflush]
root       181     2  0 00:22 ?        00:00:00 [pdflush]
root       182     2  0 00:22 ?        00:00:00 [kswapd0]
root       183     2  0 00:22 ?        00:00:00 [aio/0]
root       184     2  0 00:22 ?        00:00:00 [nfsiod]
root       185     2  0 00:22 ?        00:00:00 [cifsoplockd]
root       186     2  0 00:22 ?        00:00:00 [cifsdnotifyd]
root       187     2  0 00:22 ?        00:00:00 [aufsd]
root       188     2  0 00:22 ?        00:00:00 [aufsd]
root       189     2  0 00:22 ?        00:00:00 [aufsd]
root       190     2  0 00:22 ?        00:00:00 [aufsd]
root       357     2  0 00:22 ?        00:00:00 [ubi_bgt0d]
root       360     2  0 00:22 ?        00:00:00 [ubi_bgt1d]
root       430     2  0 00:22 ?        00:00:00 [krfcommd]
root       431     2  0 00:22 ?        00:00:00 [rpciod/0]
root       440     2  0 00:22 ?        00:00:00 [mmcqd]
root       446     2  0 00:22 ?        00:00:00 [ubifs_bgt0_0]
root       506     1  0 00:22 ?        00:00:00 /sbin/udevd -d
root       951     2  0 00:22 ?        00:00:00 [ubifs_bgt1_0]
daemon    1128     1  0 00:22 ?        00:00:00 /sbin/portmap
42        1163     1  0 00:22 ?        00:00:01 /usr/bin/dbus-daemon --system
44        1167     1  0 00:22 ?        00:00:01 /usr/sbin/hald
root      1168  1167  0 00:22 ?        00:00:00 hald-runner
root      1173  1168  0 00:22 ?        00:00:00 /usr/libexec/hald-addon-omap-backlight
root      1175  1168  0 00:22 ?        00:00:00 hald-addon-input: Listening on /dev/input/event0 /dev/input/event5 /dev/input/event2 /dev/input/event1
root      1176  1168  0 00:22 ?        00:00:00 /usr/libexec/hald-addon-leds
root      1182  1168  0 00:22 ?        00:00:00 /usr/libexec/hald-addon-generic-backlight
root      1229     1  0 00:22 ?        00:00:00 /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
root      1238     1  0 00:22 ?        00:00:00 /usr/sbin/smbd
root      1240     1  0 00:22 ?        00:00:00 /usr/sbin/nmbd
root      1254  1238  0 00:22 ?        00:00:00 /usr/sbin/smbd
avahi     1257     1  0 00:22 ?        00:00:00 avahi-daemon: running [david-openpandora.local]
root      1269     1  0 00:22 ?        00:00:01 /usr/sbin/NetworkManager
root      1302     1  0 00:22 ?        00:00:00 /usr/bin/pndevmapperd -d
root      1309     1  0 00:22 ?        00:00:00 /usr/bin/pndnotifyd -d 3
root      1322     1  0 00:22 ?        00:00:01 /usr/sbin/wpa_supplicant -u
root      1395     2  0 00:22 ?        00:00:00 [cfg80211]
root      1457     1  0 00:23 ?        00:00:00 /usr/sbin/zeroconf -i usb0
root      1462     1  0 00:23 ttyS0    00:00:00 /sbin/getty 115200 ttyS0
root      1463     1  0 00:23 tty1     00:00:00 /sbin/getty 38400 tty1
root      1504     1  0 00:23 ?        00:00:00 /usr/bin/slim -d
root      1512     2  0 00:23 ?        00:00:08 [phy0]
root      1521  1504  0 00:23 tty7     00:00:03 /usr/bin/X -auth /var/run/slim.auth vt07
root      1556   506  0 00:23 ?        00:00:00 /sbin/udevd -d
root      1559   506  0 00:23 ?        00:00:00 /sbin/udevd -d
dave      1577     1  0 00:23 ?        00:00:00 /usr/bin/gnome-keyring-daemon --daemonize
dave      1580  1504  0 00:23 ?        00:00:00 /bin/bash -login /home/dave/.xinitrc
dave      1588     1  0 00:23 ?        00:00:00 dbus-launch --autolaunch 730bf51708672f47c7712ade00000092 --binary-syntax --close-stderr
dave      1589     1  0 00:23 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
dave      1604  1580  0 00:23 ?        00:00:00 /bin/sh /etc/xdg/xfce4/xinitrc
dave      1615     1  0 00:23 ?        00:00:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
dave      1616     1  0 00:23 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
dave      1618  1604  0 00:23 ?        00:00:00 /usr/bin/xfce4-session
root      1624  1309  0 00:23 ?        00:00:00 /usr/bin/dbus-monitor --system interface=org.freedesktop.Hal.Device
dave      1626     1  0 00:23 ?        00:00:00 /usr/libexec/xfconfd
dave      1637     1  0 00:23 ?        00:00:01 xfwm4
dave      1639     1  0 00:23 ?        00:00:01 xfce4-panel
dave      1641     1  0 00:23 ?        00:00:00 Thunar --daemon
dave      1643     1  0 00:23 ?        00:00:02 xfdesktop
dave      1651     1  0 00:23 ?        00:00:00 bluetooth-applet
dave      1658     1  0 00:23 ?        00:00:02 nm-applet --sm-disable
dave      1665     1  0 00:23 ?        00:00:00 xfsettingsd
dave      1674     1  0 00:23 ?        00:00:00 /usr/libexec/gam_server
dave      1675     1  0 00:23 ?        00:00:00 xfce4-power-manager
dave      1677     1  0 00:23 ?        00:00:00 xfce4-settings-helper
dave      1691     1  0 00:23 ?        00:00:00 /usr/libexec/gconfd-2
dave      1705  1639  0 00:23 ?        00:00:00 /usr/libexec/xfce4/panel-plugins/xfce4-menu-plugin socket_id 18874395 name xfce4-menu id 12601241641 display_name Xfce Menu size
dave      1707     1  0 00:23 ?        00:00:00 /usr/libexec/xfce4-notifyd
dave      1714     1  0 00:23 ?        00:00:00 /usr/libexec/gvfsd
dave      1739  1639  0 00:23 ?        00:00:01 /usr/libexec/xfce4/panel-plugins/xfce4-mixer-plugin socket_id 18874399 name xfce4-mixer-plugin id 12672489790 display_name Mixer
dave      1740  1639  0 00:23 ?        00:00:00 /usr/libexec/xfce4/panel-plugins/xfce4-battery-plugin socket_id 18874401 name battmon id 12670957440 display_name Battery Monitor
root      1767  1269  0 00:33 ?        00:00:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-wlan0.pid -lf /var/lib/dhcp3/dhclient-bc09c4ad-f21
root      1782  1229  0 00:34 ?        00:00:02 /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
dave      1783  1782  0 00:34 pts/0    00:00:00 -bash
dave      1842  1783  0 00:38 pts/0    00:00:00 ps -ef
 
Multiplex said:
That listing clearly includes Dropbear, though.
:eek:
I did not notice that the first time through. It is extremely risky to run an SSH daemon if you have no interest in it, and especially so to leave it on the default port. The word "stupid" did cross my mind for a moment. At the very least it should be an opt in with the setup wizard.
 
Last edited by a moderator:
WizardStan said:
Multiplex said:
That listing clearly includes Dropbear, though.
:eek:
I did not notice that the first time through. It is extremely risky to run an SSH daemon if you have no interest in it, and especially so to leave it on the default port. The word "stupid" did cross my mind for a moment. At the very least it should be an opt in with the setup wizard.

Agree 100%

It's not like ppl aren't connecting their Pandora to the Internet / Public Network

default port is not really the big the issue here IMO... it's just:

-You shouldn't run an SSH server if you don't need it

-If you're running it you should you should:
- Use a Strong password for your account
- (OR/AND) Configure a passkey for authentication
 
Last edited by a moderator:
marshal said:
-If you're running it you should you should:
- Use a Strong password for your account
- (OR/AND) Configure a passkey for authentication
I'm using no password at all at home, nor will I on my P.
But I'll have sshd running (ssh key pairing ftw)
 
Last edited by a moderator:
marshal said:
default port is not really the big the issue here IMO.
In general yes, I meant in this specific case. If you're going to have something active by default without telling the user how to shut it off, leaving it on a commonly attacked port just adds to the risk.
 
Last edited by a moderator:
sebt3 said:
marshal said:
-If you're running it you should you should:
- Use a Strong password for your account
- (OR/AND) Configure a passkey for authentication
I'm using no password at all at home, nor will I on my P.
But I'll have sshd running (ssh key pairing ftw)

I personally would still put a password on the Pandora default account (same as any linux distro).
Doesn't mean you shouldn't use auto login though.

Key pairing is great for SSH :)
 
Last edited by a moderator:
Back
Top