|
查看: 1206|回复: 2
|
ubuntu下modem安装问题
[复制链接]
|
|
|
安装一切顺利但是reboot后并似乎并没有跑到pppd的?
http://www.linux-usb.org/SpeedTouch/ubuntu/index.html
Oct 28 21:46:12 localhost kernel: ADSL line is synchronising
Oct 28 21:46:12 localhost udev[7217]: creating device node '/dev/vcs7'
Oct 28 21:46:12 localhost udev[7219]: creating device node '/dev/vcsa7'
Oct 28 21:46:12 localhost udev[7243]: removing device node '/dev/vcs2'
Oct 28 21:46:12 localhost udev[7290]: removing device node '/dev/vcs6'
Oct 28 21:46:12 localhost udev[7298]: removing device node '/dev/vcs5'
Oct 28 21:46:12 localhost udev[7306]: removing device node '/dev/vcsa5'
Oct 28 21:46:12 localhost udev[7314]: removing device node '/dev/vcs3'
Oct 28 21:46:12 localhost udev[7322]: removing device node '/dev/vcsa2'
Oct 28 21:46:12 localhost udev[7352]: removing device node '/dev/vcsa6'
Oct 28 21:46:12 localhost udev[7360]: removing device node '/dev/vcs4'
Oct 28 21:46:12 localhost udev[7368]: removing device node '/dev/vcsa4'
Oct 28 21:46:12 localhost udev[7379]: removing device node '/dev/vcsa3'
Oct 28 21:46:12 localhost udev[7401]: removing device node '/dev/vcs7'
Oct 28 21:46:12 localhost udev[7407]: removing device node '/dev/vcsa7'
Oct 28 21:46:13 localhost udev[7505]: creating device node '/dev/vcs7'
Oct 28 21:46:13 localhost udev[7507]: creating device node '/dev/vcsa7'
Oct 28 21:46:13 localhost kernel: ACPI: Power Button (FF) [PWRF]
Oct 28 21:46:13 localhost kernel: ibm_acpi: ec object not found
Oct 28 21:46:14 localhost kernel: apm: BIOS not found.
Oct 28 21:46:17 localhost postfix/master[7998]: daemon started -- version 2.1.5
Oct 28 21:46:18 localhost anacron[8167]: Anacron 2.3 started on 2005-10-28
Oct 28 21:46:18 localhost anacron[8167]: Normal exit (0 jobs run)
Oct 28 21:46:18 localhost /usr/sbin/cron[8188]: (CRON) INFO (pidfile fd = 3)
Oct 28 21:46:18 localhost /usr/sbin/cron[8189]: (CRON) STARTUP (fork ok)
Oct 28 21:46:18 localhost /usr/sbin/cron[8189]: (CRON) INFO (Running @reboot jobs)
Oct 28 21:46:18 localhost udev[8218]: creating device node '/dev/vcs2'
Oct 28 21:46:18 localhost udev[8220]: creating device node '/dev/vcs3'
Oct 28 21:46:18 localhost udev[8222]: creating device node '/dev/vcsa2'
Oct 28 21:46:18 localhost udev[8226]: creating device node '/dev/vcsa3'
Oct 28 21:46:18 localhost udev[8228]: creating device node '/dev/vcsa4'
Oct 28 21:46:18 localhost udev[8230]: creating device node '/dev/vcs6'
Oct 28 21:46:18 localhost udev[8224]: creating device node '/dev/vcs4'
Oct 28 21:46:18 localhost udev[8232]: creating device node '/dev/vcsa6'
Oct 28 21:46:18 localhost udev[8234]: creating device node '/dev/vcs5'
Oct 28 21:46:18 localhost udev[8236]: creating device node '/dev/vcsa5'
Oct 28 21:46:39 localhost kernel: DSL line goes up
Oct 28 21:46:39 localhost kernel: ADSL line is up (512 Kib/s down | 256 Kib/s up)
[ 本帖最后由 V4ndrake 于 28-10-2005 10:03 PM 编辑 ] |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 28-10-2005 10:43 PM
|
显示全部楼层
现在安装好了,但是我弄的bootscript似乎并没有跑,安装步骤如下
Make A Bootscript
Open a text editor, copy this into it and save it in your home folder. Call it dial. Change VP.VC for the VPI/VCI numbers for your country/ISP. For example in Spain it's 8.32
#!/bin/bash
modprobe ppp_generic
modprobe pppoatm
modprobe br2684
count=0
while [[ $count -lt 40 ]]
do
sync=$(dmesg | grep 'ADSL line is up')
if [ ! -z "$sync" ]
then
br2684ctl -b -c 0 -a VP.VC
sleep 3
ifconfig nas0 192.168.0.1 netmask 255.255.255.0 up
sleep 10
pppd call speedtch
exit 0
fi
sleep 1
let "count += 1"
done
echo "The Speedtouch firmware didn't load"
Now with these commands,
* install the bootscript in /etc/init.d
* make a symbolic link pointing at it from /etc/rc2.d so that it gets run during the boot process
* fix /etc/resolv.conf to sort out domain nameserver lookups
sudo install -m 744 dial /etc/init.d &&
sudo ln -s ../init.d/dial /etc/rc2.d/S95dial &&
sudo ln -s ppp/resolv.conf /etc/resolv.conf
我要怎么check才知道自己没有做错? |
|
|
|
|
|
|
|
|
|
|

楼主 |
发表于 28-10-2005 10:45 PM
|
显示全部楼层
顺便补充一下,其实我现在是manually跑了
sudo modprobe ppp_generic
sudo modprobe pppoatm
sudo modprobe br2684
sudo br2684ctl -b -c 0 -a 0.35
sudo pppd call speedtch
才能顺利上网
我要怎么check我的bootscript呢?
[ 本帖最后由 V4ndrake 于 28-10-2005 10:54 PM 编辑 ] |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|