Portál AbcLinuxu, 25. dubna 2024 06:10
# apt-get install kernel-source-2.6.11Muze byt i 2.6.10, od ktere se podporuje kernel-space ovladac. Nasledujici nastaveni jsou postacujici ke spokojenemu uzivani.
Code maturity level options ---> [*] Prompt for development and/or incomplete code/drivers Device Drivers ---> Networking support ---> [*] Networking support Networking options ---> <*> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL) <*> Classical IP over ATM (EXPERIMENTAL) <*> PPP (point-to-point protocol) support <*> PPP support for async serial ports <*> PPP support for sync tty ports <*> PPP Deflate compression <*> PPP BSD-Compress compression <*> PPP over ATM USB support ---> <M> Generic USB ATM/DSL core I/O support <M> Alcatel Speedtouch USB support2) nepotrebujete zadny balicek speedtouch, zadny skript (ten uvedu dale), pouze se hodi samotna binarka modem_run v pripade manualniho spojeni:
modem_run -s -k -f /usr/lib/hotplug/firmware && pppd call /etc/ppp/peers/speedtch3) konfigurace pppd:
cat /etc/ppp/peers/speedtch
lcp-echo-interval 10 lcp-echo-failure 3 noipdefault defaultroute user USER12345 noauth noaccomp nopcomp noccp novj holdoff 4 persist maxfail 25 updetach usepeerdns plugin pppoatm.so 8.48
#>tail -f /etc/ppp/pap-secrets
# OUTBOUND connections # Here you should add your userid password to connect to your providers via # PAP. The * means that the password is to be used for ANY host you connect # to. Thus you do not have to worry about the foreign machine name. Just # replace password with your password. # If you have different providers with different passwords then you better # remove the following line. USER12345 * 030343455555
#>tail -f /etc/ppp/chap-secrets
# OUTBOUND connections # Here you should add your userid password to connect to your providers via # PAP. The * means that the password is to be used for ANY host you connect # to. Thus you do not have to worry about the foreign machine name. Just # replace password with your password. # If you have different providers with different passwords then you better # remove the following line. USER12345 * 030343455555
cat /etc/init.d/adsl
#!/bin/sh set -e PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin # vnstat --enable -i ppp0 #pro pripadne statistiky pppd call speedtch4)reboot nebo zavolat modem_run a pppd prikaz viz vyse. 5) doporucuji
update-rc.d adsl defaults 20
/etc/hotplug/firmware.agentpridejte FIRMWARE_DIR="/usr/lib/hotplug/firmware" kde jsou zminene soubory(zavadec + firmware) ulozene. Zalezi taky na verzi toho zvirete.
pppoatm.so loaded. Using interface ppp0 Connect: ppp0 <--> 8.48 LCP: timeout sending Config-Requests Connection terminated. connect(8.48): Address already in useAle tohle mohlo být způsobené špatným připojením modemu k lince.. protože můj pokoj je od splitru celkem daleko, tak jsem zkusil svůj sítový kabel píchnout do splitru a mého PC ten sítový kabel píchnout do modemu.. je fakt, že blbě blikal a řekl bych, že to znamenalo, že namá linku.. Dík lidi za radu
Jun 17 15:29:23 barak pppd[2996]: Plugin pppoatm.so loaded. Jun 17 15:29:23 barak pppd[2996]: pppd 2.4.3 started by root, uid 0 Jun 17 15:29:23 barak pppd[2996]: Using interface ppp0 Jun 17 15:29:23 barak pppd[2996]: Connect: ppp0 <--> 8.48 Jun 17 15:29:53 barak pppd[2996]: LCP: timeout sending Config-Requests Jun 17 15:29:53 barak pppd[2996]: Connection terminated. Jun 17 15:29:53 barak pppd[2996]: Exit.Mám nastavený conf, podle návodu na linux-usb.org.. nevíte někdo? Ted by se mi rada již vážně hodila.. BTW o ppp nevim naprosto nic Dík moc
Jsou mozny nasledujici moznosti proc to nejede, zkus to projit, treba te neco napadne:
Pokud ti z nejakych duvodu linka pada pri inicializaci, zkus
Asi to mas vse dobre nastavene, proste linka je z nejakeho duvodu nekvalitni. Pak sem pastni treba:
lsmod | grep speed lsmod | grep atm dpkg -l | grep ppp cat /etc/hotplug/firmware.agent | grep firmware
Mozna mas spatne VPI: pro Cesko je 8.48, teda mne to funguje:) cat /etc/ppp/peers/speedtch
Takze to chce logovat. V souboru /etc/ppp/options odkomentuj(napis) volbu debug nebo rovnou pri pusteni pppd -d.
touch /var/log/pppEdituj /etc/sysconf.conf:
# Logging ppp deamon: local1.info;local1.debug; /var/log/ppp local1.* /dev/xconsole daemon.* /var/log/pppRestartuj syslog:
killall -HUP syslogd
Jeste muzes zkusit logovat driver v jadre: V souboru /etc/ppp/options najdi volbu kdebug. kdebug n, kde n:
kern.* /var/log/kernlogNapis prikaz:
touch /var/log/kernlogRestartuj syslog:
killall -HUP syslogdKernel by mel bejt trochu upovidanejsi, takze se v tom muzes ztratit.
Jun 19 10:21:58 nilix pppd[2220]: Plugin pppoatm.so loaded. Jun 19 10:21:59 nilix pppd[2220]: pppd 2.4.3 started by root, uid 0 Jun 19 10:21:59 nilix pppd[2220]: Using interface ppp0 Jun 19 10:21:59 nilix pppd[2220]: Connect: ppp0 <--> 8.48 Jun 19 10:22:11 nilix pppd[2220]: PAP authentication succeeded Jun 19 10:22:11 nilix pppd[2220]: kernel does not support PPP filtering Jun 19 10:22:11 nilix pppd[2220]: Cannot determine ethernet address for proxy ARP Jun 19 10:22:11 nilix pppd[2220]: local IP address 83.208.248.211 Jun 19 10:22:11 nilix pppd[2220]: remote IP address 80.188.61.126 Jun 19 10:22:11 nilix pppd[2220]: primary DNS address 194.228.2.1 Jun 19 10:22:11 nilix pppd[2220]: secondary DNS address 194.228.41.113 Jun 19 10:22:13 nilix ddclient[2265]: WARNING: forcing update of nilix.homelinux.net from 83.208.248.211 to 83.208.248.211; 15 days since last update on Fri Jun 3 21:52:29 2005. Jun 19 10:22:16 nilix ddclient[2265]: SUCCESS: updating nilix.homelinux.net: good: IP address set to 83.208.248.211 Jun 19 10:22:17 nilix mysqld_safe[2421]: started Jun 19 10:22:18 nilix mysqld[2425]: 050619 10:22:18 InnoDB: Started Jun 19 10:22:18 nilix mysqld[2425]: /usr/sbin/mysqld: ready for connections. Jun 19 10:22:18 nilix mysqld[2425]: Version: '4.0.24_Debian-10-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Source distribution Jun 19 10:22:18 nilix /etc/mysql/debian-start[2458]: Checking for crashed MySQL tables. Jun 19 10:22:37 nilix ntpdate[2728]: step time server 62.94.26.10 offset -3.698095 secDoporucuji zalohu .config, rozbalit kernel-source, znovu prelozit.
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.