#ifconfig eth0 up
Jan 1 08:03:05 (none) user.warn kernel: et0: et_ioctl: cmd 0x8946
Jan 1 08:03:08 (none) user.warn kernel: et0: et_ioctl: cmd 0x8946
Jan 1 08:03:11 (none) user.warn kernel: et0: et_open
Jan 1 08:03:11 (none) user.warn kernel: et0: et_up
Jan 1 08:03:11 (none) user.warn kernel: et0: et_init
Jan 1 08:03:11 (none) user.warn kernel: et0: et_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: chipreset
Jan 1 08:03:11 (none) user.warn kernel: et0: chiptxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: chiprxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_init
Jan 1 08:03:11 (none) user.warn kernel: et0: chipinit
Jan 1 08:03:11 (none) user.warn kernel: et0: et_set_multicast_list
Jan 1 08:03:11 (none) user.warn kernel: et0: et_init
Jan 1 08:03:11 (none) user.warn kernel: et0: et_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: chipreset
Jan 1 08:03:11 (none) user.warn kernel: et0: chiptxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: chiprxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_init
Jan 1 08:03:11 (none) user.warn kernel: et0: chipinit
Jan 1 08:03:11 (none) user.warn kernel: et0: et_get_stats
Jan 1 08:03:11 (none) user.warn kernel: et0: et_set_multicast_list
Jan 1 08:03:11 (none) user.warn kernel: et0: et_init
Jan 1 08:03:11 (none) user.warn kernel: et0: et_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: chipreset
Jan 1 08:03:11 (none) user.warn kernel: et0: chiptxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: chiprxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_init
Jan 1 08:03:11 (none) user.warn kernel: et0: chipinit
Jan 1 08:03:11 (none) user.info kernel: vlan0: dev_set_promiscuity(master, 1)
Jan 1 08:03:11 (none) user.info kernel: br0: port 1(vlan0) entering learning state
Jan 1 08:03:11 (none) user.warn kernel: et0: et_set_multicast_list
Jan 1 08:03:11 (none) user.warn kernel: et0: et_init
Jan 1 08:03:11 (none) user.warn kernel: et0: et_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_reset
Jan 1 08:03:11 (none) user.warn kernel: et0: chipreset
Jan 1 08:03:11 (none) user.warn kernel: et0: chiptxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: chiprxreclaim
Jan 1 08:03:11 (none) user.warn kernel: et0: etc_init
Jan 1 08:03:11 (none) user.warn kernel: et0: chipinit
Jan 1 08:03:11 (none) user.warn kernel: et0: et_get_stats
Jan 1 08:03:11 (none) user.info kernel: br0: port 1(vlan0) entering forwarding state
Jan 1 08:03:11 (none) user.info kernel: br0: topology change detected, propagating
Jan 1 08:03:11 (none) user.warn kernel: et0: et_ioctl: cmd 0x8946
Jan 1 08:03:14 (none) user.warn kernel: et0: et_ioctl: cmd 0x8946
#ifconfig eth0 down
Jan 1 08:05:56 (none) user.warn kernel: et0: et_ioctl: cmd 0x8946
Jan 1 08:05:58 (none) user.warn kernel: et0: et_set_multicast_list
Jan 1 08:05:58 (none) user.warn kernel: et0: et_init
Jan 1 08:05:58 (none) user.warn kernel: et0: et_reset
Jan 1 08:05:58 (none) user.warn kernel: et0: etc_reset
Jan 1 08:05:58 (none) user.warn kernel: et0: chipreset
Jan 1 08:05:58 (none) user.warn kernel: et0: chiptxreclaim
Jan 1 08:05:58 (none) user.warn kernel: et0: chiprxreclaim
Jan 1 08:05:58 (none) user.warn kernel: et0: etc_init
Jan 1 08:05:58 (none) user.warn kernel: et0: chipinit
Jan 1 08:05:58 (none) user.warn kernel: et0: et_close
Jan 1 08:05:58 (none) user.warn kernel: et0: et_down
Jan 1 08:05:58 (none) user.warn kernel: et0: et_reset
Jan 1 08:05:58 (none) user.warn kernel: et0: etc_reset
Jan 1 08:05:58 (none) user.warn kernel: et0: chipreset
Jan 1 08:05:58 (none) user.warn kernel: et0: chiptxreclaim
Jan 1 08:05:58 (none) user.warn kernel: et0: chiprxreclaim
Jan 1 08:05:58 (none) user.warn kernel: et0: link down
Jan 1 08:05:58 (none) user.warn kernel: et0: et_get_stats
Jan 1 08:05:58 (none) user.info kernel: br0: port 1(vlan0) entering disabled state
Jan 1 08:05:58 (none) user.warn kernel: et0: et_get_stats
Jan 1 08:05:59 (none) user.warn kernel: et0: et_ioctl: cmd 0x8946
黃巾賊一名的由來- 還記得在小時候時,有個曾令我和弟弟瘋狂的一個紅白機的game "吞食天地",這是一以三國時代為背景的rpg game 遊戲一開始出現的小囉囉就叫 "黃巾賊" 這就好像日本最有名的game "勇者鬥惡龍"系列中第一個出現的小囉囉 總是大家耳熟能詳的"始萊姆"一樣。
2008年5月21日 星期三
2008年5月17日 星期六
GIT 教學
http://www.bitsun.com/documents/gittutorcn.htm
http://www.qweruiop.org/nchcrails/posts/49
git-cvsimport
http://docs.moodle.org/en/Development:Tracking_Moodle_CVS_with_git
http://www.blogger.com/profile/06114951663056205324
git vedio
http://git.or.cz/gitwiki/GitDocumentation
#update repositroy from cvs to git
git-cvsimport -C ../../cmds.git/
git-clone ssh://git@172.21.46.131/pub/cmds.git
#log
git-log --stat
git-log --pretty=format:"%cd %cn%n%s" --stat
------------------------------------
My favorite commands.
#change git ssh repository URL , ex: login account
cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = ssh://git@172.21.46.131/pub/cgi.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
#git diff
git-diff HEAD^ public.c
http://www.qweruiop.org/nchcrails/posts/49
git-cvsimport
http://docs.moodle.org/en/Development:Tracking_Moodle_CVS_with_git
http://www.blogger.com/profile/06114951663056205324
git vedio
http://git.or.cz/gitwiki/GitDocumentation
#update repositroy from cvs to git
git-cvsimport -C ../../cmds.git/
git-clone ssh://git@172.21.46.131/pub/cmds.git
#log
git-log --stat
git-log --pretty=format:"%cd %cn%n%s" --stat
------------------------------------
My favorite commands.
#change git ssh repository URL , ex: login account
cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = ssh://git@172.21.46.131/pub/cgi.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
#git diff
git-diff HEAD^ public.c
2008年5月15日 星期四
Build cross-compiler
今天在rss上看到cross-compiler的howto…
目前沒時間細看
所以先記下來
http://www.linuxjournal.com/article/9904
http://moto.debian.org.tw/viewtopic.php?p=49621
http://www.akae.cn/bbs/viewthread.php?tid=6993&extra=page%3D1
目前沒時間細看
所以先記下來
http://www.linuxjournal.com/article/9904
http://moto.debian.org.tw/viewtopic.php?p=49621
http://www.akae.cn/bbs/viewthread.php?tid=6993&extra=page%3D1
2008年5月12日 星期一
pppoe server howto
I have spent all of my working day to setup rp-pppoe server on Linux PC for test pppoe client.
so, I though it should be recoded to, for easy setup in the next time.
Mandrake 10.1
o ppp-2.4.2.
o ra-pppoe for plugin, which including pppoe-server.
[root@localhost ppp]# cat pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
require-pap
login
lcp-echo-interval 10
lcp-echo-failure 2
plugin rp-pppoe.so
[root@localhost ppp]# cat chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
vincent * 1234 *
below message from debug.
[root@localhost root]# cat out
May 12 16:59:45 localhost pppd[11073]: nobsdcomp^I^I# (from command line)
May 12 16:59:45 localhost pppd[11073]: nodeflate^I^I# (from command line)
May 12 16:59:45 localhost pppd[11073]: pppd 2.4.2 started by root, uid 0
May 12 16:59:45 localhost pppd[11073]: Using interface ppp0
May 12 16:59:45 localhost pppd[11073]: Connect: ppp0 <--> /dev/pts/2
May 12 16:59:48 localhost pppd[11073]: Cannot determine ethernet address for proxy ARP
May 12 16:59:48 localhost pppd[11073]: local IP address 10.0.0.1
May 12 16:59:48 localhost pppd[11073]: remote IP address 10.67.15.4
May 12 17:00:00 localhost CROND[11097]: (mail) CMD (/usr/bin/python -S /usr/lib/mailman/cron/gate_news)
May 12 17:01:00 localhost CROND[11117]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)
May 12 17:01:10 localhost pppd[11073]: LCP terminated by peer (User request)
May 12 17:01:13 localhost pppd[11073]: Connection terminated.
May 12 17:01:13 localhost pppd[11073]: Connect time 1.5 minutes.
May 12 17:01:13 localhost pppd[11073]: Sent 54 bytes, received 54 bytes.
May 12 17:01:13 localhost pppoe[11074]: read (asyncReadFromPPP): Session 4: Input/output error
May 12 17:01:13 localhost pppd[11073]: Connect time 1.5 minutes.
May 12 17:01:13 localhost pppd[11073]: Sent 54 bytes, received 54 bytes.
May 12 17:01:13 localhost pppd[11073]: Exit.
May 12 17:01:13 localhost pppoe-server[10916]: Session 4 closed for client 00:50:c2:2b:d0:01 (10.67.15.4) on eth0
May 12 17:01:13 localhost pppoe-server[10916]: Sent PADT
May 12 17:01:21 localhost pppoe-server[11169]: Session 5 created for client 00:50:c2:2b:d0:01 (10.67.15.5) on eth0 using Service-Name ''
May 12 17:01:21 localhost pppd[11169]: Plugin rp-pppoe.so loaded.
May 12 17:01:21 localhost pppd[11169]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
May 12 17:01:21 localhost pppd[11169]: Plugin rp-pppoe.so loaded.
May 12 17:01:21 localhost pppd[11169]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
May 12 17:01:21 localhost pppd[11169]: pppd options in effect:
May 12 17:01:21 localhost pppd[11169]: debug debug debug^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nodetach^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: idle 1800^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: logfd -1^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: connect-delay 5000^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: dump^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: plugin rp-pppoe.so^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: plugin rp-pppoe.so^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: require-pap^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: name vincent^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: password ??????^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: login^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: ^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: pty /usr/sbin/pppoe -n -I eth0 -e 5:00:50:c2:2b:d0:01 -S ''^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: crtscts^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: noaccomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: default-asyncmap^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: mru 1410^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: mtu 1410^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nopcomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: passive^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: lcp-echo-failure 2^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: lcp-echo-interval 10^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: novj^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: novjccomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: ipcp-accept-local^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: ipcp-accept-remote^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: ms-dns xxx # [don't know how to print value]^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: ms-wins xxx # [don't know how to print value]^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nodefaultroute^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: proxyarp^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: 10.0.0.1:10.67.15.5^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: noccp^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nobsdcomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: nodeflate^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: pppd 2.4.2 started by root, uid 0
May 12 17:01:21 localhost pppd[11169]: Using interface ppp0
May 12 17:01:21 localhost pppd[11169]: Connect: ppp0 <--> /dev/pts/2
May 12 17:01:24 localhost pppd[11169]: Cannot determine ethernet address for proxy ARP
May 12 17:01:24 localhost pppd[11169]: local IP address 10.0.0.1
May 12 17:01:24 localhost pppd[11169]: remote IP address 10.67.15.5
In client(dail out) just involved ...
# pppd plugin /lib/pppd/2.4.4/rp-pppoe.so eth1 user vincent password 1234 persist usepeerdns defaultroute unit 2
however, It seems could not dailin from windowsXP pppoe.
pppoe-server always complain source MAC should be 00:00:00:00:00:00 then
terminate with PADT.
so, I though it should be recoded to, for easy setup in the next time.
Mandrake 10.1
o ppp-2.4.2.
o ra-pppoe for plugin, which including pppoe-server.
[root@localhost ppp]# cat pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
require-pap
login
lcp-echo-interval 10
lcp-echo-failure 2
plugin rp-pppoe.so
[root@localhost ppp]# cat chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
vincent * 1234 *
below message from debug.
[root@localhost root]# cat out
May 12 16:59:45 localhost pppd[11073]: nobsdcomp^I^I# (from command line)
May 12 16:59:45 localhost pppd[11073]: nodeflate^I^I# (from command line)
May 12 16:59:45 localhost pppd[11073]: pppd 2.4.2 started by root, uid 0
May 12 16:59:45 localhost pppd[11073]: Using interface ppp0
May 12 16:59:45 localhost pppd[11073]: Connect: ppp0 <--> /dev/pts/2
May 12 16:59:48 localhost pppd[11073]: Cannot determine ethernet address for proxy ARP
May 12 16:59:48 localhost pppd[11073]: local IP address 10.0.0.1
May 12 16:59:48 localhost pppd[11073]: remote IP address 10.67.15.4
May 12 17:00:00 localhost CROND[11097]: (mail) CMD (/usr/bin/python -S /usr/lib/mailman/cron/gate_news)
May 12 17:01:00 localhost CROND[11117]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly)
May 12 17:01:10 localhost pppd[11073]: LCP terminated by peer (User request)
May 12 17:01:13 localhost pppd[11073]: Connection terminated.
May 12 17:01:13 localhost pppd[11073]: Connect time 1.5 minutes.
May 12 17:01:13 localhost pppd[11073]: Sent 54 bytes, received 54 bytes.
May 12 17:01:13 localhost pppoe[11074]: read (asyncReadFromPPP): Session 4: Input/output error
May 12 17:01:13 localhost pppd[11073]: Connect time 1.5 minutes.
May 12 17:01:13 localhost pppd[11073]: Sent 54 bytes, received 54 bytes.
May 12 17:01:13 localhost pppd[11073]: Exit.
May 12 17:01:13 localhost pppoe-server[10916]: Session 4 closed for client 00:50:c2:2b:d0:01 (10.67.15.4) on eth0
May 12 17:01:13 localhost pppoe-server[10916]: Sent PADT
May 12 17:01:21 localhost pppoe-server[11169]: Session 5 created for client 00:50:c2:2b:d0:01 (10.67.15.5) on eth0 using Service-Name ''
May 12 17:01:21 localhost pppd[11169]: Plugin rp-pppoe.so loaded.
May 12 17:01:21 localhost pppd[11169]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
May 12 17:01:21 localhost pppd[11169]: Plugin rp-pppoe.so loaded.
May 12 17:01:21 localhost pppd[11169]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
May 12 17:01:21 localhost pppd[11169]: pppd options in effect:
May 12 17:01:21 localhost pppd[11169]: debug debug debug^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nodetach^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: idle 1800^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: logfd -1^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: connect-delay 5000^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: dump^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: plugin rp-pppoe.so^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: plugin rp-pppoe.so^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: require-pap^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: name vincent^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: password ??????^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: login^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: ^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: pty /usr/sbin/pppoe -n -I eth0 -e 5:00:50:c2:2b:d0:01 -S ''^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: crtscts^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: noaccomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: default-asyncmap^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: mru 1410^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: mtu 1410^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nopcomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: passive^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: lcp-echo-failure 2^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: lcp-echo-interval 10^I^I# (from /etc/ppp/pppoe-server-options)
May 12 17:01:21 localhost pppd[11169]: novj^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: novjccomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: ipcp-accept-local^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: ipcp-accept-remote^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: ms-dns xxx # [don't know how to print value]^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: ms-wins xxx # [don't know how to print value]^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nodefaultroute^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: proxyarp^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: 10.0.0.1:10.67.15.5^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: noccp^I^I# (from /etc/ppp/options)
May 12 17:01:21 localhost pppd[11169]: nobsdcomp^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: nodeflate^I^I# (from command line)
May 12 17:01:21 localhost pppd[11169]: pppd 2.4.2 started by root, uid 0
May 12 17:01:21 localhost pppd[11169]: Using interface ppp0
May 12 17:01:21 localhost pppd[11169]: Connect: ppp0 <--> /dev/pts/2
May 12 17:01:24 localhost pppd[11169]: Cannot determine ethernet address for proxy ARP
May 12 17:01:24 localhost pppd[11169]: local IP address 10.0.0.1
May 12 17:01:24 localhost pppd[11169]: remote IP address 10.67.15.5
In client(dail out) just involved ...
# pppd plugin /lib/pppd/2.4.4/rp-pppoe.so eth1 user vincent password 1234 persist usepeerdns defaultroute unit 2
however, It seems could not dailin from windowsXP pppoe.
pppoe-server always complain source MAC should be 00:00:00:00:00:00 then
terminate with PADT.
2008年5月9日 星期五
不易使用的apt source.list
用apt-get來update or install 是很方便,但一但萬一有mirror site有問題時就另人頭大了
每次用來update source.list就花我一兩小時…因為我不熟^^,和我的mandrade的urpm一樣…
我也不熟它們的機制。
看一下裡面的檔案架構大概是這樣
http://ubuntu-archive.patan.com.ar/
sources.list:
deb http://ubuntu-archive.patan.com.ar edgy main
root@GroupCVS:/tmp# apt-get update -o Dir::Etc::SourceList=/tmp/sources.list
Get:1 http://ubuntu-archive.patan.com.ar edgy Release.gpg [191B]
Get:2 http://ubuntu-archive.patan.com.ar edgy Release [34.7kB]
Get:3 http://ubuntu-archive.patan.com.ar edgy/main Packages [940kB]
Fetched 975kB in 5m25s (2999B/s)
Reading package lists... Done
***********************************
Next, we just involved "apt-get inatll", to install packages.
option -o to specify which source.list .
#root@GroupCVS:/var/lib/apt/lists# apt-get install subversion \
-o Dir::Etc::SourceList=/tmp/sources.list
Reading package lists... Done
Building dependency tree... Done
每次用來update source.list就花我一兩小時…因為我不熟^^,和我的mandrade的urpm一樣…
我也不熟它們的機制。
看一下裡面的檔案架構大概是這樣
http://ubuntu-archive.patan.com.ar/
![]() | Archive-Update-in-Progress-leningradskaya.canonical.com | 05-May-2008 11:55 | 1 | |
![]() | Archive-Update-in-Progress-lithium.canonical.com | 03-May-2008 23:57 | 1 | |
![]() | Archive-Update-in-Progress-prat.canonical.com | 04-May-2008 19:57 | 1 | |
![]() | dists/ | 06-May-2008 20:29 | - | |
![]() | indices/ | 09-May-2008 04:20 | - | |
![]() | ls-lR.gz | 09-May-2008 03:45 | 4.9M | |
![]() | pool/ | 14-Jan-2008 19:05 | - | |
![]() | project/ | 13-Feb-2008 11:39 | - | |
deb http://ubuntu-archive.patan.com.ar edgy main
root@GroupCVS:/tmp# apt-get update -o Dir::Etc::SourceList=/tmp/sources.list
Get:1 http://ubuntu-archive.patan.com.ar edgy Release.gpg [191B]
Get:2 http://ubuntu-archive.patan.com.ar edgy Release [34.7kB]
Get:3 http://ubuntu-archive.patan.com.ar edgy/main Packages [940kB]
Fetched 975kB in 5m25s (2999B/s)
Reading package lists... Done
***********************************
Next, we just involved "apt-get inatll", to install packages.
option -o to specify which source.list .
#root@GroupCVS:/var/lib/apt/lists# apt-get install subversion \
-o Dir::Etc::SourceList=/tmp/sources.list
Reading package lists... Done
Building dependency tree... Done
2008年5月6日 星期二
cvs vs svn
最近要用cvs
所以比較了一下和svn的不同
http://svn.collab.net/repos/svn/trunk/doc/user/cvs-crossover-guide.html
所以比較了一下和svn的不同
http://svn.collab.net/repos/svn/trunk/doc/user/cvs-crossover-guide.html
2008年5月5日 星期一
NFS client
這個sample mesages說不能mount remote dir,一般來說kernel有support nfsclient,設定應該也沒錯,我check一下…exportfs -arv就ok了
另一個可能是kernel 沒built-in "nfsclient root" options,
eth0: using ip header offset of 14
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
eth1: using ip header offset of 14
eth1: link up, 1000 Mb/s, full duplex, flow control disabled
IP-Config: Complete:
device=eth0, addr=192.168.0.1, mask=255.255.255.0, gw=192.168.0.2,
host=192.168.0.1, domain=, nis-domain=(none),
bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.2
Looking up port of RPC 100005/1 on 192.168.0.2
Root-NFS: Server returned error -13 while mounting /share/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 192 mtdblock0 (driver?)
1f01 64 mtdblock1 (driver?)
1f02 1536 mtdblock2 (driver?)
1f03 6144 mtdblock3 (driver?)
1f04 64 mtdblock4 (driver?)
1f05 192 mtdblock5 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
另一個可能是kernel 沒built-in "nfsclient root" options,
eth0: using ip header offset of 14
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
eth1: using ip header offset of 14
eth1: link up, 1000 Mb/s, full duplex, flow control disabled
IP-Config: Complete:
device=eth0, addr=192.168.0.1, mask=255.255.255.0, gw=192.168.0.2,
host=192.168.0.1, domain=, nis-domain=(none),
bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.2
Looking up port of RPC 100005/1 on 192.168.0.2
Root-NFS: Server returned error -13 while mounting /share/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 192 mtdblock0 (driver?)
1f01 64 mtdblock1 (driver?)
1f02 1536 mtdblock2 (driver?)
1f03 6144 mtdblock3 (driver?)
1f04 64 mtdblock4 (driver?)
1f05 192 mtdblock5 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
訂閱:
文章 (Atom)