|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
speedtouch USB ADSL modem && FreeBSD
Hi! I'm sort of new to unix, just recently migrated. I've been trying to get this dsl modem to work for about a month now, I've lost whole nights of sleep to it, so I thought I'd ask for help.
Desktop: FreeBSD 4.8 SpeedTouch USB ADSL modem bellsouth dsl account, transferring from win2k 3rd party modem driver, speedtouch 1.2, from here Originally I tried it with freebsd 5.0, and it caused kernel panics, so i switched to 4.8. I follow the installation procedure from here , which involves compiling and making the driver, and configuring ppp.conf as well as adsl.sh (for the modem) from .sample versions. The results: # modem_run -v 1 -m -d /dev/ugen0 -f /usr/local/libdata/mgmt.o # ppp -background adsl Working in background mode Using interface: tun0 Child failed (errdead) so i looked at the ppp manual page and tried this: # ppp -ddial adsl Working in ddial mode Using interface: tun0 So far it seems to work; and the modem lights indicate it is connected... but it isn't, and i can't even ping my gateway server. The driver FAQs didn't help, and I can't find this problem in a forum archive either. So... a diagnosic: # ifconfig tun0 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 Opened by PID 251 I think it's supposed to mention the gateway IP, but it doesn't. And finally, an excerpt from ppp.log: Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: Connected! Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: opening -> dial Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: dial -> carrier Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: carrier -> login Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: login -> lcp Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: read (0): Connection reset by peer Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: Disconnected! Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: lcp -> logout Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: logout -> hangup Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: Disconnected! Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: Connect time: 0 secs: 0 octets in, 0 octets out Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: 0 packets in, 0 packets out Jun 2 22:49:19 ppp[514]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Wed Jun 2 22:49:19 2004 Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: HUPing 604 Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: hangup -> opening Jun 2 22:49:19 ppp[514]: tun0: Phase: deflink: Enter pause (3) for redialing. Jun 2 22:49:19 ppp[514]: tun0: Chat: deflink: Reconnect try 44 of 0 Jun 2 22:49:22 ppp[514]: tun0: Chat: deflink: Redial timer expired. Jun 2 22:49:22 ppp[514]: tun0: Phase: deflink: Connected! Jun 2 22:49:22 ppp[514]: tun0: Phase: deflink: opening -> dial Jun 2 22:49:22 ppp[514]: tun0: Phase: deflink: dial -> carrier Jun 2 22:49:22 ppp[514]: tun0: Phase: deflink: carrier -> login Jun 2 22:49:22 ppp[514]: tun0: Phase: deflink: login -> lcp Jun 2 22:49:22 ppp[514]: tun0: Phase: deflink: read (0): Connection reset by peer Jun 2 22:49:22 ppp[514]: tun0: Phase: deflink: Disconnected! Any ideas? |
|
#2
|
|||
|
|||
|
Hi !!!
I've a similar situation. modem_run ... pppoa3 ... pppoa2 .. eetc Could you make it works fine ? What did you do to solve the problem ? > The kernel detects the modem Ok: (/var/log/dmesg.today) uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ugen0: ALCATEL Speed Touch USB, rev 1.10/0.00, addr 2 > The process modem_run is already runs: root 128 0.0 0.5 964 632 con- I+ 3:07AM 0:00.00 /usr/local/sbin/modem_run -f /usr/local/libdata/mgmt.o > I´ve been copy the file /etc/ppp/ppp.conf.sample to /etc/ppp/adsl and fill <login> <password> <VPI> <VPI> ... > But, it doesn´t works. (/var/log/messages) Aug 22 03:08:55 HS pppoa2[143]: The modem is not at /dev/ugen0 Does exist any troubleshooting to help me ? Thanks. Andrew. |
|
#3
|
|||
|
|||
|
I'll running a speedtouch modem on my server the 530.
But I'm running it on Ethernet port which is heaps easier just connect and go, any reason your not using that?? Otherwise, have you recomplied your kernal with the usb setting, cos the usb demon doesn't work by default. |
|
#4
|
|||
|
|||
|
Hi !!!
My Alcatel SpeedTouch USB modem just works fine in my FreeBSD 4.10. And it operates as gateway / firewall very well too !!! To accomplish this. No changes made in the ppp.conf, adsl.sh, neither usbd.conf file.Only, so I've built a new kernel. A "bundle: Authenticate" phase follows to a "deflink: login -> lcp" phase. See /var/log/ppp.log file below: Sep 21 03:34:04 HS ppp[120]: tun0: Phase: deflink: opening -> dial Sep 21 03:34:04 HS ppp[120]: tun0: Phase: deflink: dial -> carrier Sep 21 03:34:04 HS ppp[120]: tun0: Phase: deflink: carrier -> login Sep 21 03:34:04 HS ppp[120]: tun0: Phase: deflink: login -> lcp Sep 21 03:34:06 HS ppp[120]: tun0: Phase: bundle: Authenticate Sep 21 03:34:06 HS ppp[120]: tun0: Phase: deflink: his = PAP, mine = none Sep 21 03:34:06 HS ppp[120]: tun0: Phase: Pap Output: sampau@speedy ******** Sep 21 03:34:06 HS ppp[120]: tun0: Phase: Pap Input: SUCCESS () The next /etc/ppp/ppp.conf sample file works fine with Speedy Telefonica de Argentina Internet Provider: default: ident user-ppp VERSION (built COMPILATIONDATE) # --- for NAT enable uncomment --- # nat enable yes set log Phase Chat IPCP CCP tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 adsl: set authname usuario@speedy set authkey 123456 set device !"/usr/local/sbin/pppoa2 -vpi 8 -vci 35 -v 2 -d /dev/ugen0" accept chap set speed sync set timeout 0 enable lqr set lqrperiod 5 set redial 15 10000 set dial "" add default HISADDR enable dns # --- for App Port Map to a local IP HOST uncomment --- # nat port tcp 192.168.0.21:ssh ssh # nat port tcp 192.168.0.21:http http |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > speedtouch USB ADSL modem && FreeBSD |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|