red hat 9 e gprs

Pagina 1 di 2 1 2 ultimo
Visualizzazione dei risultati da 1 a 10 su 11

Hybrid View

Messaggio precedente Messaggio precedente   Prossimo messaggio Prossimo messaggio
  1. #1

    Predefinito red hat 9 e gprs

    Qualcuno sa dirmi se esiste il modo di usare una connessione gprs internet vodafone con red hat linux 9?
    Utilizzo un motorola c350 con cavo usb. Con windows xp non ho avuto nessun problema di installazione anche perchè insieme al cavo usb ho ricevuto il mini cd con i drivers. Esistono anche i drivers per linux?

  2. #2
    Amministratore L'avatar di ^SiRtA^
    Registrato
    Nov 2001
    Età
    45
    Messaggi
    13,028

    Predefinito Re: red hat 9 e gprs

    Originally posted by sandro27
    Qualcuno sa dirmi se esiste il modo di usare una connessione gprs internet vodafone con red hat linux 9?
    Utilizzo un motorola c350 con cavo usb. Con windows xp non ho avuto nessun problema di installazione anche perchè insieme al cavo usb ho ricevuto il mini cd con i drivers. Esistono anche i drivers per linux?
    Questo credo sia improbabile, dovresti chiedere direttamente nel sito ufficiale della motorola.

    Tuttavia , so di utenti che sono riusciti a far girare il gprs con linux usufruendo di alcuni drivers in modalità compatibile... cosa voglia dire non lo so per certo quindi preferisco tacere, ma che si possa fare , questo si

    Spero di esserti stato d'aiuto





    Paolo

  3. #3
    Amministratore L'avatar di ^SiRtA^
    Registrato
    Nov 2001
    Età
    45
    Messaggi
    13,028

    Predefinito

    Ho trovato un paio di siti interessanti.


    http://dvtl.pisem.net/gprs_moto.html

    Non si capisce tutto ma almeno comandi e "punti" importanti si


    http://www.google.it/search?hl=it&ie...con+Google&lr=

    Questo è un risultato interessante avuto con Google


    Paolo

  4. #4

    Predefinito

    Grazie paolo, ci siamo quasi...
    provo la connessione ma dopo pochi secondi mi da un messaggio di errore di script errati.
    un'utility di kde (tipo pannello di controllo) mi dice che vede il mio motorola c350 sul dispositivo usb, ma come faccio a sapere di sicuro su quale dispositivo si trova? (tipo dev/tty......)

    grazie

  5. #5
    tebibyte
    Registrato
    Sep 2000
    Messaggi
    2,082

    Predefinito

    ciao!
    anche io sto lottando a configurare il mio 8310 sotto linux con il gprs, ma purtroppo sono ancora fermo per dei problemini alla irda.

    ora ti sto scrivendo con il gprs da win

    per quanto riguarda il dispositivo, ti consiglio di abilitare sul kernel dentro le opzioni usb, una voce che dovrebbe essere usb filesystem, con il quale avresti in /proc/usb la tua periferica usb.

  6. #6

    Predefinito

    Ci sono quasi.
    Il problema fondamentale era che il mio sistema non riusciva a vedere il dispositivo usb. (adesso risolto)
    Dopo qualche tentativo sono riuscito a connettermi(almeno credo) come dimostra l'output ottenuto dopo aver dato il comando "pppd call nome connessione"


    GPRS modem init: press <ctrl>-C to disconnect
    + defining PDP context
    + defining QoS requirements
    + attaching to GPRS
    + requesting data connection
    + connected
    Serial connection established.
    using channel 5
    Using interface ppp0
    Connect: ppp0 <--> /dev/usb/ttyACM0
    sent [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <magic 0xc1600f8> <pcomp> <accomp>]
    rcvd [LCP ConfAck id=0x1 <asyncmap 0x20a0000> <magic 0xc1600f8> <pcomp> <accomp>]
    rcvd [LCP ConfReq id=0x1 <asyncmap 0x20a0000> <auth pap> <magic 0xceeeb4> <pcomp> <accomp>]
    sent [LCP ConfRej id=0x1 <auth pap>]
    rcvd [LCP ConfReq id=0x2 <asyncmap 0x20a0000> <magic 0xceeebd> <pcomp> <accomp>]
    sent [LCP ConfAck id=0x2 <asyncmap 0x20a0000> <magic 0xceeebd> <pcomp> <accomp>]
    sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
    sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
    rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
    sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
    sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
    rcvd [IPCP ConfNak id=0x1 <addr 10.225.236.182>]
    sent [IPCP ConfReq id=0x2 <addr 10.225.236.182>]
    rcvd [IPCP ConfAck id=0x2 <addr 10.225.236.182>]
    rcvd [IPCP ConfReq id=0x3 <addr 192.168.100.101>]
    sent [IPCP ConfAck id=0x3 <addr 192.168.100.101>]
    local IP address 10.225.236.182
    remote IP address 192.168.100.101
    Script /etc/ppp/ip-up started (pid 4608)
    Script /etc/ppp/ip-up finished (pid 4608), status = 0x0


    il problema è che non riesco ad usare la connessione. Ho provato a fare ping su qualche host ma e come se fossi disconnesso .
    Eppure ifconfig mi dice che sono connesso ed ho anche un IP locale assegnato dalla rete.
    Puo essere un problema di DNS?
    come posso risolvere?

  7. #7
    Amministratore L'avatar di ^SiRtA^
    Registrato
    Nov 2001
    Età
    45
    Messaggi
    13,028

    Predefinito

    Hummm, successe anche a me con red hat ed una semplicissima connessione tramite modem :\

    Quale sia la soluzione , purtroppo non so, io risolsi in un secondo momento con una scheda di rete e configurando dns , ip blablablabla ecc.. con una adsl.

    Puoi fare una cosa, la tua connessione è Wind ? Vai nel sito , se trovi le "specifiche" per usare la connessione correttamente su Linux hai risolto




    Paolo

  8. #8
    tebibyte
    Registrato
    Sep 2000
    Messaggi
    2,082

    Predefinito

    molto probabile che non hai impostato i dns
    edita il file /etc/resolv.conf
    e aggiungi
    nameserver 10.127.1.41

    ps:anche io uso il gprs di vodafone

    se ti interessa, in questo thread stiamo condividendo le nostre esperienze con il gprs
    http://www.atris.it/Forum1/showthrea...0&pagenumber=1

  9. #9

    Predefinito

    ciao

    Ho provato anche modificando il file resolv.conf ma la situazione non è cambiata. Come dicevo prima ho risolto il problema usb con il comando "mknod -t /dev/usb/ttyACM0 c 166 0". Apparte il fatto che non ho trovato niente riguardo l'opzione -t di mknod, posso soltanto dire che ora su questo dispositivo trovo il mio motorola c350 che prima di dare questo comando non c'era. Cosa fa mknod? cosa sono quei parametri? può dipendere da questo il fatto che non riesco ad usare la connessione?
    Mi fai un grande favore? puoi mandarmi i tuoi script vodafone per confrontarli con i miei?

    grazie

    sandrottr@libero.it

  10. #10
    tebibyte
    Registrato
    Sep 2000
    Messaggi
    2,082

    Predefinito

    sono appena riuscito a collegarmi con linux!

    eccoti i miei files, ma considera che li devo ancora "ottimizzare" per benino!
    [/etc/ppp/peers/gprs]
    # File:
    # gprs
    #
    # Description:
    # Serial cable, IrDA, Bluetooth and USB pppd options for GPRS phones.

    # Keep pppd attached to the terminal:
    # Comment this to get daemon mode pppd
    nodetach

    # Debug info from pppd:
    # Comment this off, if you don't need more info
    debug

    # Show password in debug messages
    show-password

    # Connect script:
    # scripts to initialize the GPRS modem and start the connection,
    # wvdial command is for Orange SPV while other phones should work with chat
    connect /etc/ppp/peers/gprs-connect-chat
    #connect "/usr/bin/wvdial --chat --config /etc/ppp/peers/gprs-wvdial.conf radiolinja_usb_orange_spv
    "

    # Disconnect script:
    # AT commands used to 'hangup' the GPRS connection.
    disconnect /etc/ppp/peers/gprs-disconnect-chat

    # Serial device to which the GPRS phone is connected:
    # /dev/ttyS0 for serial port (COM1 in Windows),
    #/dev/ircomm0 for IrDA,
    # /dev/ttyUB0 for Bluetooth (Bluez with rfcomm running) and
    #/dev/ttyUSB0 #for USB
    #/dev/ttyS0 # serial port one
    #/dev/ttyS1 # serial port two
    /dev/ircomm0 # IrDA serial port one
    #/dev/rfcomm0 # Bluetooth serial port one
    #/dev/ttyUSB0 # USB serial device, for example Orange SPV
    to the IP routing table

    # Serial port line speed
    115200 # fast enough
    #57600 # perhaps usefull with IrDA

    # Hardware flow control:
    # Use hardware flow control with cable, Bluetooth and USB but not with IrDA.
    #crtscts # serial cable, Bluetooth and USB
    nocrtscts # IrDA

    # Ignore carrier detect signal from the modem:
    local

    # IP addresses:
    # - accept peers idea of our local address and set address peer as 10.0.0.1
    # (any address would do, since IPCP gives 0.0.0.0 to it)
    # - if you use the 10. network at home or something and pppd rejects it,
    # change the address to something else
    :10.0.0.1
    # pppd must not propose any IP address to the peer!
    noipdefault

    # Accept peers idea of our local address
    ipcp-accept-local

    # Add the ppp interface as default route to the IP routing table
    defaultroute

    # DNS servers from the phone:
    # some phones support this, some don't.
    usepeerdns

    # ppp compression:
    # ppp compression may be used between the phone and the pppd, but the
    # serial connection is usually not the bottleneck in GPRS, so the
    # compression is useless (and with some phones need to disabled before
    # the LCP negotiations succeed).
    novj
    nobsdcomp
    novjccomp
    nopcomp
    noaccomp

    # The phone is not required to authenticate:
    noauth

    # Username and password:
    # If username and password are required by the APN, put here the username
    # and put the username-password combination to the secrets file:
    # /etc/ppp/pap-secrets for PAP and /etc/ppp/chap-secrets for CHAP
    # authentication. See pppd man pages for details.
    # Example, Radiolinja operator pap-secrets:
    # "rlnet" * "internet" *
    #user "rlnet"

    # Asyncmap:
    # some phones may require this option.
    asyncmap 0xa0000

    # No magic:
    # some phones may require this option.
    #nomagic

    # Require PAP authentication:
    # some phones may require this option.
    #require-pap
    lcp-echo-failure 0

    [/etc/ppp/peers/gprs-connect-chat]
    #!/bin/sh
    #
    # File:
    # gprs-connect-chat
    #
    # Description:
    # chat script to open Radiolinjas GPRS service with GPRS phones. If ppp
    # negotiation stalls, try restarting the phone. To try with other GPRS
    # operator setting, change the PDP contex setting. The settings work with
    # most Ericsson models, but Nokia 8310 and 30 do not support QoS parameters
    # with AT commands, so just delete those lines and it'll work.
    #
    # Set PDP context CID=1, protocol=IP, APN=internet:
    # AT+CGDCONT=1,"IP","web.omnitel.it","",0,0
    #
    # Set CID=1 QoS requirements from the network, not supported by Nokia:
    # AT+CGQREQ=1,0,0,0,0,0
    #
    # Set CID=1 minimum acceptable QoS parameters, not supported by Nokia:
    # AT+CGQMIN=1,0,0,0,0,0
    #
    # 'Call' CID=1 (activate PDP context one, perform GPRS attach):
    # ATD*99***1#
    #
    # Some phones like the Orange SPV (yes, the Microsoft Smartphone) use this
    # dial string to start GPRS connection:
    # ATD*99#
    #
    # The actual chat script:
    exec chat \
    TIMEOUT 5 \
    ECHO ON \
    ABORT '\nBUSY\r' \
    ABORT '\nERROR\r' \
    ABORT '\nNO ANSWER\r' \
    ABORT '\nNO CARRIER\r' \
    ABORT '\nNO DIALTONE\r' \
    ABORT '\nRINGING\r\n\r\nRINGING\r' \
    '' \rAT \
    TIMEOUT 12 \
    SAY "Press CTRL-C to close the connection at any stage!" \
    SAY "\ndefining PDP context...\n" \
    OK ATH \
    OK ATE1 \
    OK 'AT+CGDCONT=1,"IP","web.omnitel.it"' \
    OK ATD*99# \
    TIMEOUT 42 \
    SAY "\nwaiting for connect...\n" \
    CONNECT "" \
    SAY "\nConnected." \
    SAY "\nIf the following ppp negotiations fail,\n" \
    SAY "try restarting the phone.\n"

    [/etc/ppp/peers/gprs-disconnect-chat]
    #!/bin/sh
    #
    # File:
    # gprs-disconnect-chat
    #
    # send break
    exec /usr/sbin/chat -V -s -S \
    ABORT "BUSY" \
    ABORT "ERROR" \
    ABORT "NO DIALTONE" \
    SAY "\nSending break to the modem\n" \
    "" "\K" \
    "" "+++ATH" \
    SAY "\nPDP context detached\n"
    ~

Pagina 1 di 2 1 2 ultimo

Informazioni Thread

Users Browsing this Thread

Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)

Discussioni simili

  1. Red Hat Linux 7 (TO)
    By zosta in forum -= Acquisti : Hardware - Software =-
    Risposte: 1
    Ultimo messaggio: 28-06-2001, 21:23
  2. RED-HAT 7.1
    By UmIbOzU in forum -= GNU/Linux e sistemi operativi alternativi =-
    Risposte: 7
    Ultimo messaggio: 28-04-2001, 22:23
  3. Red hat 6.1 e 6.2
    By in forum -= GNU/Linux e sistemi operativi alternativi =-
    Risposte: 1
    Ultimo messaggio: 02-06-2000, 20:59

Tags

Regole d'invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
nexthardware.com - © 2002-2022