Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

PLAY Online, Huawei E156G, wvdial\ppp

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
Author
Message
STiKi
n00b
n00b
Posts: 7
Joined: Tue Nov 24, 2009 6:23 pm

PLAY Online, Huawei E156G, wvdial\ppp

  • Quote

Post by STiKi » Sun Feb 28, 2010 5:48 pm

Staram się zmusić ten modem do działania, ale chyba wszystko jest przeciwko mnie.
Oto konfig /etc/wvdial.conf:

Code: Select all

tomasz@apofis ~ $ cat /mnt/ntfs/wvdial


tomasz@apofis ~ $ cat /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyUSB0

Init2 = ATZ

Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Init4 = AT+CGDCONT=1,"IP","internet"

#Init4 = AT+CGDCONT=1,"IP","www.playmobile.pl"

#Init4 = AT+CGDCONT=1,"IP","www.orange.pl"

Stupid Mode = 1

Check DNS = off

Modem Type = Analog Modem
Phone = *99#

ISDN = 0

username = internet

Dial Command = ATDT

Password = internet

Baud = 466600

A oto co się dzieje bo wydaniu komendy wvdial:

Code: Select all

tomasz@apofis ~ $ wvdial

--> WvDial: Internet dialer version 1.60

--> Initializing modem.

--> Sending: ATZ
ATZ
OK

--> Sending: ATZ
ATZ
OK

--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK

--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK

--> Modem initialized.

--> Sending: ATDT*99#

--> Waiting for carrier.
ATDT*99#
CONNECT

--> Carrier detected.  Starting PPP immediately.

--> Starting pppd at Sun Feb 28 18:35:20 2010

--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied

--> 
--> PAP (Password Authentication Protocol) may be flaky.

--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied

--> 
--> CHAP (Challenge Handshake) may be flaky.

--> Pid of pppd: 12647

--> Disconnecting at Sun Feb 28 18:35:20 2010

--> The PPP daemon has died: No ppp module error (exit code = 4)

--> man pppd explains pppd error codes in more detail.

--> I guess that's it for now, exiting

--> The PPP daemon has died. (exit code = 4)
Please help! :)
Top
ufoman
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Sun Apr 02, 2006 9:10 pm

  • Quote

Post by ufoman » Sun Feb 28, 2010 11:35 pm

Kod błędu 4 oznacza problem z modułami. Coś pewnie przegapiłeś.
Registered Linux User #417638
amd64 no-multilib
desktop: Gigabyte GA-MA770-UD3 v2.0, Athlon II X2 250 @3,6GHz, 4GB DDR2 800, Radeon HD 4850, Seagate Barracuda 7200.11 320GB
Top
STiKi
n00b
n00b
Posts: 7
Joined: Tue Nov 24, 2009 6:23 pm

  • Quote

Post by STiKi » Mon Mar 01, 2010 7:42 am

No według manuala, wszystko mam wbudowane.
Top
ufoman
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Sun Apr 02, 2006 9:10 pm

  • Quote

Post by ufoman » Mon Mar 01, 2010 8:51 am

To zrób wszystko jako moduły. Tez kiedyś bawiłem się z pppd i miałem taki problem.
Registered Linux User #417638
amd64 no-multilib
desktop: Gigabyte GA-MA770-UD3 v2.0, Athlon II X2 250 @3,6GHz, 4GB DDR2 800, Radeon HD 4850, Seagate Barracuda 7200.11 320GB
Top
STiKi
n00b
n00b
Posts: 7
Joined: Tue Nov 24, 2009 6:23 pm

  • Quote

Post by STiKi » Fri Mar 05, 2010 9:20 am

Ani wbudowanie wszystkich potrzebnych funkcji na twardo, ani zbudowanie jajka z obsługą modularną tychże rzeczy nic nie daje. Any other ideas?
Top
Dagger
Retired Dev
Retired Dev
User avatar
Posts: 765
Joined: Wed Jun 11, 2003 8:21 pm
Location: UK

  • Quote

Post by Dagger » Mon Mar 15, 2010 4:13 pm

errr NetworkManager ma w pelni zintegrowana obsluge tego typu przadzen. Osobiscie mam 2 modem Huewai i obydwa dzialaja bez problemow.
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Top
arturx
n00b
n00b
Posts: 57
Joined: Thu Jul 06, 2006 9:51 pm

  • Quote

Post by arturx » Sat May 22, 2010 12:03 pm

umnie działa

Code: Select all

cat /etc/conf.d/net
config_ppp0=( "ppp" )
link_ppp0="/dev/ttyUSB0"
modules_ppp0=( "pppd iproute2" )
modules=( "plug" )
pppd_ppp0=(
        "noauth"
        "debug"
        "defaultroute"
        "usepeerdns"
        "noipdefault"
        "ipcp-accept-local"
        "ipcp-accept-remote"
        "lock"
        "921600"
        "crtscts"
        )
chat_ppp0="
ABORT BUSY
ABORT ERROR
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'Invalid Login'
ABORT 'Login incorrect'
'' AT
TIMEOUT 5
OK 'ATH'
OK 'ATE1'
OK 'AT+CGDCONT=1,\"IP\",\"Internet\"'
OK 'ATD*99#'
TIMEOUT 60
CONNECT ''
TIMEOUT 5
~--''
"
kernel w/g http://en.gentoo-wiki.com/wiki/Huawei_E ... el_options
Top
Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic