|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
ssh login+BelgacomTV Sagem Communication-probleemHoi,
Gezocht mensen met ervaring BelgacomTV-bak+Ubuntu (Jaunty)... ik zit bij een persoon die een dyndns.org account heeft met de bedoeling dat ik hem op afstand zou kunnen helpen door in zijn pc in te loggen; het lukt me echter totaal niet, ookal probeer ik in de sshd_config andere poorten dan 22 te openen, bv. 22222 of 4000 of zelfs 23 die in principe al geopend is... Dit zijn de tests die we gedaan hebben: vanuit zijn pc naar de mijne is ok, dan van de mijne terug naar zijne pc, gaat gewoon niet. Test outputs: root@ubuntu:~# dmesg |grep -i eth [ 4.627568] Driver 'sd' needs updating - please use bus_type methods [ 4.627585] Driver 'sr' needs updating - please use bus_type methods [ 6.314816] eth0: SiS 900 PCI Fast Ethernet at 0xd800, IRQ 19, 00:16:ec:b8:bd:d2 [ 20.639700] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 27.481118] eth0: Media Link On 100mbps full-duplex [ 35.916042] eth0: no IPv6 routers present root@ubuntu:~# lsmod |grep sis sis_agp 15360 1 agpgart 42696 1 sis_agp sis900 28288 0 mii 13312 1 sis900 root@ubuntu:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:16:ec:b8:bd:d2 inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::216:ecff:feb8:bdd2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:91 errors:0 dropped:0 overruns:0 frame:0 TX packets:121 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:22138 (22.1 KB) TX bytes:12647 (12.6 KB) Interrupt:19 Base address:0xd800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:240 (240.0 B) TX bytes:240 (240.0 B) root@ubuntu:~# cat /etc/network/interfaces auto lo iface lo inet loopback root@ubuntu:~# cat /etc/resolv.conf # Generated by NetworkManager domain home search home nameserver 192.168.1.1 root@ubuntu:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 1 0 0 eth0 link-local * 255.255.0.0 U 1000 0 0 eth0 default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 root@ubuntu:~# ddclient -v CONNECT: checkip.dyndns.org CONNECTED: using HTTP SENDING: GET / HTTP/1.0 SENDING: Host: checkip.dyndns.org SENDING: User-Agent: ddclient/3.7.3 SENDING: Connection: close SENDING: RECEIVE: HTTP/1.1 200 OK RECEIVE: Content-Type: text/html RECEIVE: Server: DynDNS-CheckIP/1.0 RECEIVE: Connection: close RECEIVE: Cache-Control: no-cache RECEIVE: Pragma: no-cache RECEIVE: Content-Length: 105 RECEIVE: RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 91.176.249.28</body></html> SUCCESS: rogmeyvis.homelinux.net: skipped: IP address was already set to 91.176.249.28. root@ubuntu:~# ps ax |grep ssh 2409 ? Ss 0:00 /usr/sbin/sshd 3256 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/pulse-session /usr/bin/seahorse-agent --execute x-session-manager 3969 pts/0 R+ 0:00 grep ssh root@ubuntu:~# nmap 192.168.1.0 Starting Nmap 4.76 ( http://nmap.org ) at 2009-10-05 11:53 CEST Note: Host seems down. If it is really up, but blocking our ping probes, try -PN Nmap done: 1 IP address (0 hosts up) scanned in 0.31 seconds root@ubuntu:~# nmap 192.168.1.1 Starting Nmap 4.76 ( http://nmap.org ) at 2009-10-05 11:54 CEST Interesting ports on 192.168.1.1: Not shown: 992 closed ports PORT STATE SERVICE 23/tcp open telnet 80/tcp open http 443/tcp open https 631/tcp open ipp 992/tcp open telnets 8080/tcp open http-proxy 8085/tcp open unknown 8443/tcp open https-alt MAC Address: 00:1B:BF:A4:13:7D (Sagem Communication) Nmap done: 1 IP address (1 host up) scanned in 1.18 seconds root@ubuntu:~# nmap 192.168.1.11 Starting Nmap 4.76 ( http://nmap.org ) at 2009-10-05 11:56 CEST Interesting ports on 192.168.1.11: Not shown: 997 closed ports PORT STATE SERVICE 4000/tcp open remoteanything 4001/tcp open unknown 6881/tcp open bittorrent-tracker Nmap done: 1 IP address (1 host up) scanned in 0.27 seconds root@ubuntu:~# cd /etc/ root@ubuntu:/etc# cd ssh root@ubuntu:/etc/ssh# joe sshd_config (set port to ???) Y P -- Ubuntu-NL mailing list Ubuntu-NL@... Info/Uitschrijven: https://lists.ubuntu.com/mailman/listinfo/ubuntu-nl |
|
|
Re: ssh login+BelgacomTV Sagem Communication-probleem[en nu ook naar de lijst mailen :P]
Hoi YP, 2009/10/5 Y P <yellow.penguin@...>: > ik zit bij een persoon die een dyndns.org account heeft met de bedoeling dat > ik hem op afstand zou kunnen helpen door in zijn pc in te loggen; > het lukt me echter totaal niet, > ookal probeer ik in de sshd_config andere poorten dan 22 te openen, bv. > 22222 of 4000 of zelfs 23 die in principe al geopend is... > > Dit zijn de tests die we gedaan hebben: > vanuit zijn pc naar de mijne is ok, dan van de mijne terug naar zijne pc, > gaat gewoon niet. 192.168.1.11 is een intern, niet-routeerbaar, IP (http://en.wikipedia.org/wiki/Private_network). Die PC zit dus achter een router (waarschijnlijk via NAT). Jouw eigen PC ziet alleen die router, waarop geen SSH draait (die draait op de machine erachter). Staat er dus in de router ingesteld dat de SSH poort word doorgestuurd (zg. 'port forwarding') naar de machine achter de router? Geert -- Ubuntu-NL mailing list Ubuntu-NL@... Info/Uitschrijven: https://lists.ubuntu.com/mailman/listinfo/ubuntu-nl |
|
|
|
|
|
Re: ssh login+BelgacomTV Sagem Communication-probleemHoi Geert, Angelo & all,
On Mon, Oct 05, 2009 at 12:46:34PM +0200, Geert Altena wrote: > [en nu ook naar de lijst mailen :P] > > Hoi YP, > > 2009/10/5 Y P <yellow.penguin@...>: > > > ik zit bij een persoon die een dyndns.org account heeft met de bedoeling dat > > ik hem op afstand zou kunnen helpen door in zijn pc in te loggen; > > het lukt me echter totaal niet, > > ookal probeer ik in de sshd_config andere poorten dan 22 te openen, bv. > > 22222 of 4000 of zelfs 23 die in principe al geopend is... > > > > Dit zijn de tests die we gedaan hebben: > > vanuit zijn pc naar de mijne is ok, dan van de mijne terug naar zijne pc, > > gaat gewoon niet. > > 192.168.1.11 is een intern, niet-routeerbaar, IP > (http://en.wikipedia.org/wiki/Private_network). Die PC zit dus achter > een router (waarschijnlijk via NAT). Jouw eigen PC ziet alleen die > router, waarop geen SSH draait (die draait op de machine erachter). > > Staat er dus in de router ingesteld dat de SSH poort word doorgestuurd > (zg. 'port forwarding') naar de machine achter de router? Ik ken het apapraat helemaal niet, heb er totaal geen ervaring mee, ik heb een Sweex router thuis en iemand heeft die met port forwardings ingesteld; de vraag is of dat met BelgaomTV bakjes (Sagem) ook zo simpel is om dit te doen, laat staan dat het toegalaten is door de interne soft ? Daar ook, graag feedback van mensen die het geval al kennen... Bedankt voor de huitleg, ik begrijp de situatie al veel beter, dat is toch ookal een positief punt he :-) Y P -- Ubuntu-NL mailing list Ubuntu-NL@... Info/Uitschrijven: https://lists.ubuntu.com/mailman/listinfo/ubuntu-nl |
| Free embeddable forum powered by Nabble | Forum Help |