Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kan inte ansluta med ltmodem och wvdial
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
niad
n00b
n00b


Joined: 22 Oct 2003
Posts: 11

PostPosted: Mon Nov 10, 2003 4:41 pm    Post subject: kan inte ansluta med ltmodem och wvdial Reply with quote

jag har problem med min anslutning som jag gör med ltmodem. jag har installerat ltmodem, ppp och wvdial. wvdial hittar mitt modem utan vidare. jag ringer upp och så snart pppd har startat och fått ett pid nr så lägger "ett modem" på luren exit code 16 vilket betyder att ett modem har lagt på luren. nån mer som känner till detta problem. jag har läst överallt tycker jag men de som har detta problem får bara till svar att köra med Stupid Mode 1 eller yes men det hjälper dem inte och inte mig heller. wvdial hittar ju modemet så det kan inte vara det tycker jag utan snarare nåt som blir fel just vid anslutningen, har kört lindows tidigare och då fungerade modemet så det funkar under linux det vet jag. alla tips är välkomna.
Back to top
View user's profile Send private message
Thulle
n00b
n00b


Joined: 11 Nov 2002
Posts: 70

PostPosted: Tue Nov 11, 2003 11:23 pm    Post subject: Reply with quote

jag kör ltmodem på en gammal compaq hos farsan, och jag hade samma problem som du.. lösningen var enkel; skrota wvdial - gentoos script hanterade detdär fint för mig.. lite ändringar i configen (i /etc/conf.d/net.ppp0 tror jag det är) och sen funkade /etc/init.d/net.ppp0 start helt utmärkt:)
Back to top
View user's profile Send private message
niad
n00b
n00b


Joined: 22 Oct 2003
Posts: 11

PostPosted: Wed Nov 12, 2003 9:35 pm    Post subject: Kan man få ett exempel? Reply with quote

Jag har kollat på scriptet och jag tycker inte det ser enkelt ut tyvärr. Har letat efter exempel men inte hittat nåt. Kan man få se ditt net.ppp0 script så jag ser var jag skall fylla i det som behövs.
Back to top
View user's profile Send private message
Thulle
n00b
n00b


Joined: 11 Nov 2002
Posts: 70

PostPosted: Mon Nov 17, 2003 2:47 am    Post subject: Reply with quote

det ligger tyvärr på en brandvägg uppe i norr som jag inte kan komma åt via internet - så det får vänta tills jag åker upp nästa gång (jul?) isf..
posta din config så kanske jag kan hjälpa till:)
Back to top
View user's profile Send private message
Thulle
n00b
n00b


Joined: 11 Nov 2002
Posts: 70

PostPosted: Tue Jan 13, 2004 6:12 pm    Post subject: Reply with quote

och så kom då den dagen då jag fick möjlighet att kolla configen - lägger det här ifall frågan fortfarande är aktuell

Code:

# /etc/conf.d/net.ppp0:
# $Header: /home/cvsroot/gentoo-x86/net-dialup/ppp/files/confd.ppp0,v 1.1 2003/05/23 04:45:18 killian Exp $

# Config file for /etc/init.d/net.ppp0


PEER="tninet"                   # Define peer (aka ISP) ## telenordia som isp, ingen speciell innebörd i namnet
DEBUG="yes"                      # Turn on debugging           
PERSIST="yes"                    # Redial after being dropped
ONDEMAND="no"                   # Only bring the interface up on demand?
MODEMPORT="/dev/ttySLT0"          # TTY device modem is connected to      ##detta är den device jag fick av ltmodem-modulen
LINESPEED="115200"              # Speed pppd should try to connect at
INITSTRIMG=""
#INITSTRING="ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"                   # Extra init string for the modem
DEFROUTE="yes"                  # Must pppd set the default route?
HARDFLOWCTL="yes"               # Use hardware flow control?
ESCAPECHARS="yes"               # Use escape caracters ?
PPPOPTIONS=""                   # Extra options for pppd                 
USERNAME="user"                 # The PAP/CHAP username           
PASSWORD="pass"               # Your password/secret.  Ugly I know, but i
                                # will work on something more secure later
                                # on.  700 permission on /etc/init.d/net.ppp0
                                # should be enouth for now.               
NUMBER="0620632222"             # The telephone number of your ISP        ## telenordia i sollefteå:D
REMIP=""                        # The ip of the remote box if it should be set
NETMASK=""                      # Netmask           
IPADDR=""                       # Our IP if we have a static one
MRU="768"                       # Sets the MRU
MTU="768"                       # Sets the MTU
RETRYTIMEOUT="60"               # Retry timeout for when ONDEMAND="yes" or
                                # PERSIST="yes"
IDLETIMEOUT="600"               # Idle timeout for when ONDEMAND="yes"       
PEERDNS="no"                    # Should pppd set the peer dns?

# This does not currently work due to a bug in pppd (I think)
FWSCRIPT="/etc/init.d/firewall" # Optional FW script that pppd should start
                                # and stop when the link comes up or drop.
                                # It should be a script that takes one
                                # argument, namely the action that should
                                # be taken (start|stop).  The name of the
                                # external interface on which the firewall
                                # should be activated, should be hardcoded
                                # into the script (you will tipically have
                                # fw.ppp0, fw.ppp1, etc if you have more than
                                # one ppp interface).             
                                #
                                # called: ${FWSCRIPT} [start|stop]

AUTOCFGFILES="yes"              # By default this scripts will generate
                                # /etc/ppp/chat-isp, /etc/ppp/chap-secrets,
                                # /etc/ppp/pap-secrets and /etc/ppp/peers/isp
                                # automagically.  Set to "no" if you experience
                                # problems, or need specialized scripts.  You
                                # will have to create these files by hand then.
                                # Also, the FWSCRIPT feature will not work.   


# Directory where the templates is stored     
TEMPLATEDIR=/etc/ppp



## på dem jag ändrade, inte mycket alls.
Back to top
View user's profile Send private message
Starfox
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2002
Posts: 93

PostPosted: Tue Feb 03, 2004 7:45 pm    Post subject: Reply with quote

Try to fill in your "login * password" in /etc/ppp/{p}{ch}ap-secrets

That works for me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum