[CBLX] problème login ssh et bidule Sagem BelgacomTV

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Yo,

je suis chez un ami novice qui a un compte dyndns.org pour que je puisse
l'aider en me loguant;
or ça ne veut pas marcher!!!
J'ai arpis en venant chez lui que c pas un simple modem ou routeur, mais un
bidule à la FreeBox ou je sais pas ce que vous avez en France poru
l'adsl+télé+phone etc...
Ici c donc un bac Belgacom Sagem Communication munit de ports usb et
ethernet.

Si je me logues de son pc vers mon ordi, ça va, mais après dans l'autre sens
ça ne va plus, ni par ssh ni par telnet.
J'ai beau ouvrir des ports dans sshd_config, rien n'y fais.

Vos avis sont les bienvenus... voici ma sortie de tests:

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 ???)

Aldo.


---
--
   CarrefourBLinuX MailingListe
   Pour obtenir de l'aide, envoyez le sujet  help  à:
   carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
   Archives:
   http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/