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

[SOLVED][NET] Neostrada & speedtouch & problem

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

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
ar_it
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Sat Feb 25, 2006 3:36 pm
Location: Poland/Warsaw

[SOLVED][NET] Neostrada & speedtouch & problem

  • Quote

Post by ar_it » Mon May 01, 2006 11:13 am

Witam,
Wiem że temat był wałkowany na wszystkie możliwe sposoby.
Mam modem speedtouch 330
Najnowszy stabilny kernel 2.6.16. konfigurację kernela robiłem w/g http://www.linux-usb.org/SpeedTouch/gentoo/index.html
oraz sprawdzałem wg - http://kempniu.no-ip.com/speedtouch_slackware/
i wszystko pięknie ale dostaję coś takiego

Code: Select all

Plugin pppoatm.so loaded.
PPPoATM plugin_init
PPPoATM setdevname_pppoatm - SUCCESS:0.35
Using interface ppp0
Connect: ppp0 <--> 0.35
LCP terminated by peer
Connection terminated.
Modem hangup
ma ktoś moze jakiś pomysł ??
P.S.

Code: Select all

emerge --info
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Celeron(R) M processor         1.40GHz
Gentoo Base System version 1.12.0_pre18
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -Os -pipe -s -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acpi adns apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr clamav cli crypt cups curl dio dri eds emboss encode esd expat foomaticdb fortran ftp gdbm gif gmp gpm gstreamer gtk2 hardened imagemagick imlib ipv6 isdnlog jpeg libg++ libwww lm_sensors mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf pdflib perl png pppd python quicktime rar readline reflection samba sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xml xml2 xmms xorg xv zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS
Mam pppd w wersji

Code: Select all

net-dialup/ppp-2.4.3-r14  -activefilter +atm +dhcp -eap-tls -gtk +ipv6 -mppe-mppc +pam -radius
konfigi do neo

Code: Select all

cat /etc/ppp/peers/speedtch
persist
updetach
usepeerdns
defaultroute
noipdefault
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
maxfail 25
lcp-echo-interval 3
lcp-echo-failure 10
user rejestracja@neostrada.pl
plugin pppoatm.so
0.35

Code: Select all

cat /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
rejestracja@neostrada.pl rejestracja
Będę wdzieczny za pomoc.
--
EDIT
Problem rozwiazałem sam.
NA forum jest opis odpalenia neo na livecd gentoo i z tamtad wziełem ustawienia - Działa.

P.S. 2
Nie wem jak zrobić aby neo odpalało przy starcie

--EDIT--
Ten problem rozwiązałem tym miłym skryptem
Znaleziony gdzieś na forum, autora niestety nie pamiętam :|

Code: Select all

cat /etc/init.d/speedtch
#!/sbin/runscript
depend(){
need hotplug coldplug
}
start(){
ebegin "Starting ADSL connection"
pppd call speedtch
eend $? "Failed to start ADSL connection"
}
stop(){
ebegin "Stopping ADSL connection"
killall -9 pppd
eend $? "Failed to stop ADSL connection"
}
P.S. 3 Jak zrobić aby gdy neo straci połączenie, samoczynnie go nawiazywało - ten system ma być routerem - do którego nie będę musiał codziennie zaglądać i sprawdzać czy neo działa?

--EDIT--
Zrobiłem
a o to prosty skrypcik

Code: Select all

cat /mnt/gentoo/root/neo_restart.sh
date >> /var/log/neo.log

ping 194.204.159.1 -c1 -w5 | grep 'icmp_seq' >/dev/null
let wynik=$?
if [ $wynik -eq 0 ]; then
echo ok >> /var/log/neo.log
else
echo Nie ma polaczenia z internetem - probujemy nawiazac >> /var/log/neo.log
/etc/init.d/speedtch stop >> /var/log/neo.log
killall -9 pppd
/etc/init.d/speedtch start >> /var/log/neo.log
fi
Dodałem go do crona

Code: Select all

crontab -e
*       *       *       *       *       /root/neo_restart.sh
działa :lol:
Last edited by ar_it on Mon May 01, 2006 3:01 pm, edited 3 times in total.
ar_it
https://www.teamquest.pl/
Top
Raku
Bodhisattva
Bodhisattva
User avatar
Posts: 2374
Joined: Sat Feb 28, 2004 12:02 am
Location: Poland

  • Quote

Post by Raku » Mon May 01, 2006 11:20 am

Moved from Polish to Instalacja i sprzęt.
raku

Powered by Archlinux ;-)
Top
Post Reply
  • Print view

2 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