קוד: |
domain actcom.co.il search actcom.co.il co.il nameserver 192.114.47.4 nameserver 192.114.47.52 |
קוד: |
#!/bin/bash cp /etc/resolv.conf.sv /etc/resolv.conf USERNAME="" echo 'Username:' $USERNAME whoami /sbin/ifdown eth0 /sbin/ifup eth0 CABLEGW=`cat /etc/dhcpc/dhcpcd-eth0.info | grep GATEWAY | cut -d"=" -f2` echo 'CableGW:' $CABLEGW /sbin/route add -host 100.200.300.400 gw $CABLEGW /usr/sbin/pptp 100.200.300.400 debug user $USERNAME remotename 100.200.300.400 mtu 1460 mru 1460 defaultroute echo 'Please wait ...' sleep 25 NEWGW=$(/sbin/ifconfig ppp0 | grep inet | cut -d":" -f3 | tail -1 | cut -d" " -f1) echo 'NewGW:' $NEWGW /sbin/route add default gw $NEWGW /sbin/route del default gw $CABLEGW cp /etc/resolv.conf.actcom /etc/resolv.conf cat /etc/resolv.conf ifconfig netstat -r -n |
ציטוט: |
אבי, המדריך הזה לא רלוונטי בכלל לדיון. יותר מזה, שימוש לא נכון (בין אם בגלל דגם שונה או טעות בהסברים) עלולה להרוס את המודם. |
קוד: |
ls /etc/ppp/pap-secrets -l |
קוד: |
# Secrets for authentication using PAP # client server secret IP addresses \"username\" 100.200.300.400 \"password\" |
ציטוט: |
ב 2003-04-15 15:21, Anonymous כתב: היי!! תאמינו או לא, זה האתר הראשון שהלכתי כדי לכתוב לכולם תודה, אחרי שהצלחתי סוף סוף לקנפג את המודם!!! אחרי 3 שיחות של ארוכות מאוד עם נטוויז'ן, ועוד הרבה שעות של סקריפטינג, זה עובד!! תודה רבה לכולם, אני מבטיח שעכשיו אני הולך לכתוב מדריך, לאנשים כמוני, שאין להם כוח להסתבך עם זה.. חג שמח! נדב |
ציטוט: |
ב 2003-05-02 22:40, shahar כתב: עבדתי לפי ההוראות כאן, אבל נעצרתי די מוקדם: ב- wizard של הגדרת החיבור, אחרי שהוא שואל אותי אם לקנפג התקן נוסף, אני מקבל הודעה בנוסח "No ethernet devices found, this connection will not be configured"... וכו'. אני לא מגיע לשלב הקינפוג של eth0. יש פתרונות? תודה. |
קוד: |
usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xcc933000, IRQ 16 usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2) usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 3 ports detected usb-ohci.c: USB OHCI at membase 0xcc935000, IRQ 20 usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] 7001 usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 3 ports detected *** usbdevfs: remount parameter error hub.c: USB new device connect on bus1/3, assigned device number 2 usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new address=2 (error=-110) hub.c: USB new device connect on bus1/3, assigned device number 3 usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new address=3 (error=-110) hub.c: USB new device connect on bus2/2, assigned device number 2 usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new address=2 (error=-110) hub.c: USB new device connect on bus2/2, assigned device number 3 usb_control/bulk_msg: timeout usb-ohci.c: unlink URB timeout usb.c: USB device not accepting new address=3 (error=-110) usb.c: registered new driver usblp printer.c: v0.11: USB Printer Device Class driver i810_audio: drain_dac, dma timeout? hdd: packet command error: status=0x51 { DriveReady SeekComplete Error } hdd: packet command error: error=0x50 i810_audio: drain_dac, dma timeout? |
קוד: |
[root@localhost home]# ./cable myusername
Username: myusername root Determining IP information for eth0... done. CableGW: 192.168.2.1 warn[open_inetsock:pptp_callmgr.c:310]: connect: Connection timed out fatal[callmgr_main:pptp_callmgr.c:133]: Could not open control connection to 213.8.56.12 fatal[open_callmgr:pptp.c:283]: Call manager exited with error 256 |
קוד: |
/sbin/route |
קוד: |
/sbin/route -vF |