BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 2nd, 2004, 11:47 PM
thefrog thefrog is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 thefrog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old August 21st, 2004, 10:53 PM
asampau asampau is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Buenos Aires, Argentina.
Posts: 2 asampau User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to asampau
Question Alcatel SpeedTouch USB ADSL MODEM & FreeBSD 4.10 Ports collection

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.

Reply With Quote
  #3  
Old August 30th, 2004, 12:45 AM
sndguru sndguru is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Perth
Posts: 13 sndguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 18 sec
Reputation Power: 0
Send a message via ICQ to sndguru
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.

Reply With Quote
  #4  
Old September 21st, 2004, 02:32 AM
asampau asampau is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Buenos Aires, Argentina.
Posts: 2 asampau User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to asampau
Thumbs up SpeedTouch USB & FreeBSD 4.10

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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > speedtouch USB ADSL modem && FreeBSD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway