[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Problem z instalacją Thomson ST 330nierozwiązany!!!



To co teraz piszę to z mojego debianka 3.1 na jajku 2.6.8 pod kde i
firefox.Uzyskałem połączenie ale nie wiem czy przy następnym restarcie
kompa zestawie net przez tego zasranego thomsona. Zabiłem już
załadowanego pppd i uruchomiłem skrypt
speedtouchconf-2.0-beta2_16-May-2005.tar.gz ze strony
http://sourceforge.net/project/showfiles.php?group_id=68502 wraz z
firmwarem rev4fw.zip i w końcu zaskoczył po ładnych kilku dniach
przestoju. Na dowód dorzucam mój log z tego połączenia
Starting speedtouchconf.sh script
Version 2.0-beta2_16-May-2005
śro cze 29 17:57:46 CEST 2005
Called as ./speedtouchconf.sh from /usr/src/sc330/speedtouchconf-2.0-beta2_16-May-2005
Linux chieftec 2.6.8-2-686 #1 Thu May 19 17:53:30 JST 2005 i686 GNU/Linux
VPI: 0 VCI: 35
No further user interaction is required.
Configuring SpeedTouch Driver...
Software Configuration - SUCCESS
Building SpeedTouch Driver...
Software Build - SUCCESS
Installing SpeedTouch Driver...
Software Installation - SUCCESS
Creating ppp files in /etc/ppp
-rw-------  1 root root 170 2005-06-29 17:58 /etc/ppp/chap-secrets
-rw-r--r--  1 root root 156 2005-06-29 17:58 /etc/ppp/options
-rw-------  1 root root 169 2005-06-29 17:58 /etc/ppp/pap-secrets
-rw-r--r--  1 root dip  329 2005-06-29 17:58 /etc/ppp/peers/adsl
Modprobe found the following:
LOAD_NHDLC=1
LOAD_PPP_GENERIC=1
LOAD_PPP_SYNCTTY=1
LOAD_USBCORE=1
LOAD_USBINTERFACE=0
    LOAD_PPP_GENERIC=0;
    modprobe -q ppp_generic && LOAD_PPP_GENERIC=1;
    LOAD_PPP_SYNCTTY=0;
    modprobe -q ppp_synctty && LOAD_PPP_SYNCTTY=1;
    LOAD_NHDLC=0;
    modprobe -q n_hdlc && LOAD_NHDLC=1;
    LOAD_USBCORE=0;
    modprobe -q usbcore && LOAD_USBCORE=1;
    LOAD_USBINTERFACE="0";
        LOAD_USBINTERFACE=1;
    set | grep LOAD >>$LOGFILE;
    echo "# LOAD_ directives should be 1 for modules, 0 if built into the kernel" >>$CONF;
    echo "LOAD_PPP_GENERIC=${LOAD_PPP_GENERIC}" >>$CONF;
    echo "LOAD_PPP_SYNCTTY=${LOAD_PPP_SYNCTTY}" >>$CONF;
    echo "LOAD_USBCORE=${LOAD_USBCORE}" >>$CONF;
    echo "LOAD_USBINTERFACE=${LOAD_USBINTERFACE}" >>$CONF;
    echo "LOAD_NHDLC=${LOAD_NHDLC}" >>$CONF;
LOAD_USBCORE=1
LOAD_USBINTERFACE=0
USB_INTERFACE=
USB_TYPE=UHCI
    USB_TYPE=`get_usb`;
    if [ -z "${USB_TYPE}" ]; then
        echo "No USB Bus found or no Speed Touch modem found" | tee -a $LOGFILE;
    LOAD_USBCORE=0;
    modprobe -q usbcore && LOAD_USBCORE=1;
    USB_INTERFACE="";
    LOAD_USBINTERFACE="0";
    if [ "$USB_TYPE" == "UHCI" ]; then
        modprobe -q usb-uhci 2>/dev/null && USB_INTERFACE=usb-uhci;
        modprobe -q uhci-hdc 2>/dev/null && USB_INTERFACE=uhci-hdc;
        modprobe -q uhci 2>/dev/null && USB_INTERFACE=uhci;
    if [ "$USB_TYPE" == "EHCI" ]; then
        modprobe -q usb-ehci 2>/dev/null && USB_INTERFACE=usb-ehci;
        modprobe -q ehci-hdc 2>/dev/null && USB_INTERFACE=ehci-hdc;
        modprobe -q ehci 2>/dev/null && USB_INTERFACE=ehci;
    if [ "$USB_TYPE" == "OHCI" ]; then
        modprobe -q usb-ohci 2>/dev/null && USB_INTERFACE=usb-ohci;
        modprobe -q ohci-hdc 2>/dev/null && USB_INTERFACE=ohci-hdc;
        modprobe -q ohci 2>/dev/null && USB_INTERFACE=ohci;
    if [ ! -z "$USB_INTERFACE" ]; then
        LOAD_USBINTERFACE=1;
    set | grep USB >>$LOGFILE;
    add_line "usb-interface" "alias usb-interface $USB_INTERFACE" $MODCONF $MODCONFLOCAL
            USB_TYPE=$bus;
            echo $USB_TYPE;
    echo "LOAD_USBCORE=${LOAD_USBCORE}" >>$CONF;
    echo "LOAD_USBINTERFACE=${LOAD_USBINTERFACE}" >>$CONF;
    echo "# USB Interface - UHCI / OHCI / EHCI" >>$CONF;
    echo "DEFAULT_USBINTERFACE=\"${USB_INTERFACE}\"" >>$CONF;
End of Modprobe info
śro cze 29 17:58:40 CEST 2005
The modem lights should start flashing for approx. 60 seconds...
śro cze 29 17:59:16 CEST 2005
The lights should both be solid green now.
... Checking /usr/share/speedtouch and /etc/speedtouch ... 
/usr/share/speedtouch:
ls: /usr/share/speedtouch: Nie ma takiego pliku ani katalogu
/etc/speedtouch:
... Done checking for kernel-driver microcodes
Running : /usr/sbin/pppd call adsl
pppd return code 0
Called pppd - you should see some messages about IP addresses now...
Jun 29 17:59:26 localhost pppd[7237]: pppd 2.4.3 started by root, uid 0
Jun 29 17:59:26 localhost pppd[7237]: Using interface ppp0
Jun 29 17:59:26 localhost pppd[7237]: Connect: ppp0 <--> /dev/pts/1
Jun 29 17:59:33 localhost pppd[7237]: CHAP authentication succeeded
Jun 29 17:59:33 localhost pppd[7237]: local  IP address 83.22.135.223
Jun 29 17:59:33 localhost pppd[7237]: remote IP address 213.25.2.216
Jun 29 17:59:33 localhost pppd[7237]: primary   DNS address 194.204.152.34
Jun 29 17:59:33 localhost pppd[7237]: secondary DNS address 217.98.63.164
--- ifconfig -a output ---
eth0      Link encap:Ethernet  HWaddr 00:C1:26:07:2B:CA  
          inet addr:192.168.100.3  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::2c1:26ff:fe07:2bca/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:12005 (11.7 KiB)
          Interrupt:11 Base address:0xc000 

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:216 errors:0 dropped:0 overruns:0 frame:0
          TX packets:216 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:25578 (24.9 KiB)  TX bytes:25578 (24.9 KiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:83.22.135.223  P-t-P:213.25.2.216  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:2362 (2.3 KiB)  TX bytes:1642 (1.6 KiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

--- netstat -rn output ---
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
213.25.2.216    0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.100.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         213.25.2.216    0.0.0.0         UG        0 0          0 ppp0
Looks like we're online... 
Hey look, I can see the Net from here!
--- dns ---
-rw-r--r--  1 root root 51 2005-06-29 17:59 /etc/ppp/resolv.conf
lrwxrwxrwx  1 root root 20 2005-06-28 18:30 /etc/resolv.conf -> /etc/ppp/resolv.conf
--- /etc/resolv.conf ---
nameserver 194.204.152.34
nameserver 217.98.63.164
--- /etc/ppp/resolv.conf ---
nameserver 194.204.152.34
nameserver 217.98.63.164
--- end of diags ---
Configuration finished.
To automatically dial-in when the PC boots up : 
update-rc.d speedtouch start 90 2 3 4 5 . stop 10 0 1 6 .
init command succeeded

Reply to: