IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   GNU, Linux ve UNIX (https://www.ircforumlari.net/gnu-linux-ve-unix/)
-   -   Linux altinda USB Modem Kurulumu (https://www.ircforumlari.net/gnu-linux-ve-unix/48848-linux-altinda-usb-modem-kurulumu.html)

Ocean 30 Ocak 2008 05:37

Linux altinda USB Modem Kurulumu
 
USB modem sahipleri: artik linux'da usb modem'i olupta internete giremiyorum diyen kalmasin.. kurulum dökümanını size adim adim asagida anlaticam.. kolay gelsin..

1. Adim :

cxacru-fw.bin ; isimli dosyamizi önce download ediyoruz..

PHP- Kodu:

wget http://
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
style="color: #0000BB">

Daha sonra dizine cikariyoruz

PHP- Kodu:

tar -xvzf 
cxacru
-fw-2.099.093.000.tar.gz 

dizinin icindeki, cxacru isimli belgemizi ;

PHP- Kodu:

 /lib/firmware/(2.6.20-15-generic

- (Numaralar sizde farkli olabilir) isimli klasore kopyaliyoruz.

2. Adim :

rp-pppoe 'yi indiriyoruz
PHP- Kodu:

wget http://
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
style="color: #0000BB">

Dizine cikariyoruz

PHP- Kodu:

tar -xvzf 
rp
-pppoe-3.8.tar.gz 

ardindan ;

PHP- Kodu:

cd /home/(isminiz)/Desktop/rp-pppoe-3.8 

diyerek klasöre giriyoruz..

ve

PHP- Kodu:

sudo ./go 

Komutunu veriyoruz..

Burada sizden pppoe baglanisi icin bilgileri istenecektir.

* Kullanıcı adı ve parola istemi icim Türk Telekom'dan aldığınız şekilde girin. Örnek : time2burn@ttnet
* Password istemine : ttnet'ten almis oldugunuz sifreyi girin.
* interface için sorulan kısma '' nas0 '' yazin. (tirnak isaretleri haric)
* DNS sorusu icin '' server '' yazin. (tirnak isaretleri haric)
* firewall sorucu icin " 0 " yazın.. (sıfır) - (Tırnak isaretleri haric)
* sorulan diger soruları " enter " ile gecin..

Dipnot ;

PHP- Kodu:

sudo ./go 

Komutunu verdikten sonra, CC Compiler ve benzeri hata alanlar.

PHP- Kodu:

wget http://mirrors.kernel.org/ubuntu/pool/main/b/build-essential/build-essential_11.3ubuntu1_i386.deb 

Adresinden Build-Essential'i indirip, Ubuntu Kurulum cd'sini takip ardindan,

cift tilayarak install veya konsoldan / terminalden

PHP- Kodu:

sudo dpkg -/home/(isminiz)/Desktop/build-essential_11.3ubuntu1_i386.deb 

komutunu verin kendisi gerekli eklentilerini cd'den cekecektir..

3. Adim :

Daha sonra masaüstü'ne '' cxacru '' isminde bos bir metin belgesi olusturun..

icine asagidakileri aynen copy/paste edin kaydedin (Ctrl + S) ve cikin..

PHP- Kodu:

#
# Config file for Conexant AccessRunner
#
 
# Driver mode
DRIVER_MODE=
# 1 = normal, 2 = debug, 3 = normal+max speed (without ask ADSL status), 
debug+max speed (without ask ADSL status)
 
# Protocol
PROTOCOL_MODE=4
# 1* = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 
# 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)

# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""

# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=
 
# ATM
VPI=8
VCI
=35

# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=255.255.255.0
GATEWAY


Daha sonra " cxacru " isimli dosyayı /etc dizinine taşıyın.

4. Adim

br2684ctl indiriyoruz..
PHP- Kodu:

wget http://archive.ubuntu.com/ubuntu/pool/universe/b/br2684ctl/br2684ctl_20040226-1_i386.deb 

ardindan ;

PHP- Kodu:

sudo dpkg -/home/(isminiz)/Desktop br2684ctl_20040226-1_i386.deb 

komutunu verip kurulumu gerceklestiriyoruz..

Asagidaki hatayi aliyorsaniz ;

PHP- Kodu:

br2684ctl depents on limatml however :
Package libatml is not installed 

ek olarak ; libatmal'yi indiriyoruz.

PHP- Kodu:

wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-atm/libatm1_2.4.1-17.1build1_i386.deb 

Kurulumu gerceklestiriyoruz.
PHP- Kodu:

sudo dpkg -/home/(isminiz)/Desktop/
libatm1_2.4.1-17.1build1_i386.deb 

ve son adim ;

Root olarak,

PHP- Kodu:

 sudo br2684ctl -c 0 --a 8.35 

PHP- Kodu:

 sudo pppoe-start 

kodlarını konsol'a yazıyoruz, ve yukarida anlatilanlari sorunsuz yaptiysaniz, internettesiniz !

Kaynak = Kendim :)

LanetLiii 12 Eylül 2008 00:10

Yanıt: Linux altinda USB Modem Kurulumu
 
Ethernet Interface: nas0
User name: xxxxx@ttnet
Activate-on-demand: Yes; idle timeout = server seconds
DNS addresses: Supplied by ISP's server
Firewalling: NONE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
(But first backing it up to /etc/ppp/pap-secrets-bak)
(But first backing it up to /etc/ppp/chap-secrets-bak)


Congratulations, it should be all set up!
Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring
it down. Type 'pppoe-status' to see the link status.

sudo br2684ctl -c 0 -b -a 8.35
br2684ctl[21822]: Interface "nas0" could not be created, reason: File exists
br2684ctl[21822]: Communicating over ATM 0.8.35, encapsulation: LLC
br2684ctl[21822]: Could not configure interface:File exists

sudo pppoe-start
dediğim zaman da timeout cevabı geliyor harfi harfiyen uyguladım dedinkerinizi
sorun nedir yardımcı olmanız mumkunmu acaba arkadaslar

Ocean 12 Eylül 2008 00:31

Cevap: Linux altinda USB Modem Kurulumu
 
Normalde eğer dediklerimi eksiksiz yapmışsanız bağlanmanız lazım. Kurulumu tekrar ve dikkatlice tekrar yap. ve bağlanmada önce X'i resetle. Bu arada, Linux dagitimin Windows ile ayni makinada mi ? Modem isiklarinin dogru yanip yanmadigina dikkat et. Daha once basima gelmisti, Windows ile oturum acmadan, direk linux ile giris yaptigim zaman Linux uzerinden USB modem ile nete baglanamiyordum. Baglanamabilmem icin, Once Windows ile oturup acip, makinaya reset atip Linux ile giris yapmam gerekiyordu. Ancak demis oldugum gibi buda bir ihtimal sen oncelik olarak demis oldugum gibi, kurulumu dikkatli bir sekilde tekrar gerceklestir, X'i restartla ve girdikten sonra baglanmayi dene. Mutlaka birsey atlamis olmalisin. Kolay Gelsin.

LanetLiii 12 Eylül 2008 02:17

Yanıt: Linux altinda USB Modem Kurulumu
 
Running ./configure...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking netinet/if_ether.h usability... yes
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for fcntl.h... (cached) yes
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking linux/if_ether.h usability... yes
checking linux/if_ether.h presence... yes
checking for linux/if_ether.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_ether.h usability... no
checking net/if_ether.h presence... no
checking for net/if_ether.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for linux/if.h... yes
checking for linux/if_pppox.h... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... no
checking for working memcmp... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for pppd... /usr/sbin/pppd
checking for echo... /bin/echo
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... no
checking packing order of bit fields... reversed
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libevent/Makefile
config.status: creating ../scripts/pppoe-connect
config.status: creating ../scripts/pppoe-start
config.status: creating ../scripts/pppoe-stop
config.status: creating ../scripts/pppoe-init
config.status: creating ../scripts/pppoe-init-suse
config.status: creating ../scripts/pppoe-init-turbolinux
config.status: creating ../scripts/pppoe-setup
config.status: creating ../gui/Makefile
config.status: creating ../gui/tkpppoe
config.status: creating config.h
config.status: config.h is unchanged
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay
Type 'make' to compile the software.
Running make...
Type 'make install' as root to install the software.
Running make install...

Type 'make install' as root to install the software.
mkdir -p /usr/sbin
/usr/bin/install -c -m 755 pppoe /usr/sbin
/usr/bin/install -c -m 755 pppoe-server /usr/sbin
if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 licensed-only/pppoe-server-control /usr/sbin; fi
if test -x pppoe-relay ; then /usr/bin/install -c -m 755 pppoe-relay /usr/sbin; fi
if test -x pppoe-sniff; then /usr/bin/install -c -m 755 pppoe-sniff /usr/sbin; fi
/usr/bin/install -c -m 755 ../scripts/pppoe-connect /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-start /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-status /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-stop /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-setup /usr/sbin
mkdir -p /usr/share/doc/rp-pppoe-3.8
/usr/bin/install -c -m 644 ../doc/CHANGES /usr/share/doc/rp-pppoe-3.8
/usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /usr/share/doc/rp-pppoe-3.8
/usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /usr/share/doc/rp-pppoe-3.8
/usr/bin/install -c -m 644 ../doc/LICENSE /usr/share/doc/rp-pppoe-3.8
/usr/bin/install -c -m 644 ../README /usr/share/doc/rp-pppoe-3.8
/usr/bin/install -c -m 644 ../SERVPOET /usr/share/doc/rp-pppoe-3.8
/usr/bin/install -c -m 644 ../configs/pap-secrets /usr/share/doc/rp-pppoe-3.8
mkdir -p /usr/man/man8
for i in pppoe pppoe-server pppoe-sniff pppoe-relay ; do \
if test -f ../man/$i.8 ; then \
/usr/bin/install -c -m 644 ../man/$i.8 /usr/man/man8 || exit 1; \
fi; \
done
/usr/bin/install -c -m 644 ../man/pppoe-start.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/pppoe-stop.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/pppoe-status.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/pppoe-connect.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/pppoe-setup.8 /usr/man/man8
mkdir -p /usr/man/man5
/usr/bin/install -c -m 644 ../man/pppoe.conf.5 /usr/man/man5
mkdir -p /etc/ppp
mkdir -p /etc/ppp/plugins
echo "# Directory created by rp-pppoe for kernel-mode plugin" > /etc/ppp/plugins/README
NOT overwriting existing /etc/ppp/pppoe.conf
NOT overwriting existing /etc/ppp/firewall-standalone
NOT overwriting existing /etc/ppp/firewall-masq
NOT overwriting existing /etc/ppp/pppoe-server-options
# L2TP

Type 'pppoe-setup' to configure the software.

Welcome to the Roaring Penguin PPPoE client setup. First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good! Now, please enter some information:

USER NAME

>>> Enter your PPPoE user name (default xxxxxxxxxx@ttnet):

INTERFACE

>>> Enter the Ethernet interface connected to the DSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number.
(default nas0):

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
>>> Enter the demand value (default server):

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
>>> Enter the DNS information here: server

PASSWORD
>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
>>> Choose a type of firewall (0-2): 0

** Summary of what you entered **
Ethernet Interface: nas0
User name: xxxxxxxxxxxx@ttnet
Activate-on-demand: Yes; idle timeout = server seconds
DNS addresses: Supplied by ISP's server
Firewalling: NONE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
(But first backing it up to /etc/ppp/pap-secrets-bak)
(But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring
it down. Type 'pppoe-status' to see the link status.
root@xxxxx-laptop:~/Masaüstü/Usb Modem /rp-pppoe-3.8# cd
root@xxxxx-laptop:~#

LanetLiii 12 Eylül 2008 02:19

Yanıt: Linux altinda USB Modem Kurulumu
 
5959 ? S 0:00 br2684ctl -c 0 -b -a 8.35
5968 pts/0 S 0:00 /bin/sh /usr/sbin/pppoe-connect


baglanmıyorr maleseff dediklerini yaptım birde sen kontrol et istersen

Ocean 12 Eylül 2008 08:38

Cevap: Linux altinda USB Modem Kurulumu
 
görüldügü kadariyla derlemede bir problem yok, xxxxxxxxxx@ttnet kismina ttnet kullanici adin mi yazili yoksa editleme mi yaptin ? modemin isiklari dogru sekilde yaniyor mu ? herkesi eksiksiz yaptim diyorsan, birde windows ile oturum ac istersen (eger kuruluysa) demis oldugum gibi, boyle bir sorun vardi ilk mesajimda belirtmis oldugum gibi bende usb modem ile windows da oturum acmadan once linux uzerinden nete baglanamiyordum. ayrica usb modemin conexant chipsetli mi ? markasi nedir.

LanetLiii 12 Eylül 2008 23:59

Yanıt: Linux altinda USB Modem Kurulumu
 
xxxxxxxxx@ttnet kısmında x lerin yerinde kullanıcı adımı yazdım tabiki gorunmemesi acısından foruma yazarken onları xx diye yazdım foruma dediğin gibi de yaptım windowsu actım bakandı tekrardan kapadım ve ubuntu 8.04 u actım balamayı denedim ondada basarılı olamadım modemiimin markasıı zoom adsl mode ethernet girisi falan yok sadece tek bir usb girisi mevcut modemde

LanetLiii 13 Eylül 2008 00:03

Yanıt: Linux altinda USB Modem Kurulumu
 
modemin ısıkları dogru calısıyor onuda yazmayı unutmusum link ısığı normal yaniyor data sekmesi yanmiyorr sadece

Ocean 13 Eylül 2008 00:06

Cevap: Linux altinda USB Modem Kurulumu
 
peki windows ile oturum açtıktan sonra, windows üzerinden nete bağlandın mı bir defa ? windows üzerinden bağlanmayı dene ve daha sonra Linux'a geçip bağlanmayı dene. data sekmesi windows üzerinden nete bağlanırken yanıyor mu peki ?

LanetLiii 13 Eylül 2008 00:11

Yanıt: Linux altinda USB Modem Kurulumu
 
modemin tam markası zoom adsl usb modem 5510


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 10:52.

Powered by vBulletin® Version 3.8.8 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2024 IRCForumlari.Net