|

楼主 |
发表于 24-6-2005 05:43 PM
|
显示全部楼层
。。。。自己看看吧,我刚找到的,我还没有时间去试试。。。。
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
4. ADSL的设置
4.1 Solaris DNS客户端设置
#cp /etc/nsswitch.dns /etc/nsswitch.conf
这是我的/etc/resolv.conf配置文件内容:
nameserver 202.106.46.151
4.2 ISP的配置文件
#cat /etc/ppp/peers/dialconf
sppptun
plugin pppoe.so
connect "/usr/lib/inet/pppoec rh0" #我的网卡接口是rh0
persist
user "*adslname" # 网通的account name总是*号开头的用户名,假定我的是*adslname
noauth # do not authenticate the ISP's identity (client)
noipdefault # assume no IP address; get it from ISP
defaultroute # install default route; ISP is Internet gateway
updetach # log errors and CONNECT string to invoker
noccp
novj
noaccomp
nopcomp
4.3 用户验证文件
#cat /etc/ppp/chap-secrets
"*adslname" * "111111"
注意: "*adslname",*,"111111"之间使用了[TAB]而不是空格,这里假定口令是111111
如果你的isp需要相应设定 /etc/ppp/chat- secrets,内容格式相似
4.4 创建拨号Shell文件
#cat /opt/adsl
sppptun plumb pppoed rh0
sppptun plumb pppoe rh0
sppptun query
/usr/bin/pppd call dialconf
echo "Link Successfully..."
4.5 拨号测试
#/opt/adsl
rh0:pppoed
rh0:pppoe
rh0:pppoed
rh0:pppoe
Serial connection established.
Using interface sppp0
Connect: sppp0 <--> /dev/sppptun
Remote message: Welcome to use Quidway ROUTER, Huawei Tech.^M^J #呵呵,原来是华为的路由器
local IP address 221.216.249.95
remote IP address 61.51.112.1
Link Successfully...
#ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rh0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.80.1 netmask ffffff00 broadcast 192.168.80.255
ether 0:c:6e:8b:d2:94
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1492 index 3
inet 221.216.249.95 --> 61.51.112.1 netmask ffffff00
红色部分就是adsl建立的接口
#ping 216.239.53.9
216.239.53.9 is alive
#ping www.sina.com.cn
www.sina.com.cn is alive
4.6 断开adsl
#pkill pppd |
|
|
|
|
|
|
|

楼主 |
发表于 24-6-2005 06:22 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 24-6-2005 07:10 PM
|
显示全部楼层
hackintosh 于 24-6-2005 17:19 说 :
就像linux一样,一下是我的partition,非常的简单
/boot 100MB
/ 全部
/swap RAM的两倍
全部?是指多少?20GB夠嗎?
Solaris10的安裝都要整10GB了喔...
我把說明書都下載了..哈哈..
剛剛開始學習,連UNIX都不懂得人...
Programming也不會的人
swap-RAM的两倍?
那我的RAM是256MB,
就是大概要1GB啦..?是嗎?
可不可以放個10GB的FAT32的partition拿來存放東西?
solaris10可以detect到FAT32的嗎?
其實Solaris10可以當成普通OS來用嗎?
就好像WinXP一樣,上網,看戲,聽歌等...
因為看到它是免費的..
又沒有用過,好想學習一下..
知道它是個很好的網路架構...
|
|
|
|
|
|
|
|

楼主 |
发表于 24-6-2005 08:30 PM
|
显示全部楼层
我用40Ghdd
如果你是256MB,swap就放512MB
可以,可是当作server来学习才是重点!!
[ Last edited by hackintosh on 25-6-2005 at 02:30 AM ] |
|
|
|
|
|
|
|
发表于 25-6-2005 11:34 PM
|
显示全部楼层
救命啊...
我在一台AMDsempron安裝solaris10...出問題了...
走了100%後...
Starting solaris installation...
Bus Error - core dumped
/bin/install-solaris : head : Cannot Execute
我restart電腦後出現
Bad PBR sig
個位有甚麼辦法解救...?
我是用Nero burn DVD的... |
|
|
|
|
|
|
|

楼主 |
发表于 26-6-2005 01:56 AM
|
显示全部楼层
这个就帮不到你了!! 呵呵, 我也不是高手。
从装看看能不能 |
|
|
|
|
|
|
|
发表于 27-6-2005 06:39 PM
|
显示全部楼层
啊.可以了...
原來是我的DVD機讀不到那片DVD+R...
自己拷錄出來的DVD,自己讀不到...悲哀...
detect不到我的MSI主機板的built-in LAN..nvidia的...
忙碌中... |
|
|
|
|
|
|
|

楼主 |
发表于 27-6-2005 10:49 PM
|
显示全部楼层
ELSA GLADIAC GF2 MX440
RealTek 8139 ( built in )
both can detected as well.
祝你好运!! |
|
|
|
|
|
|
| |
本周最热论坛帖子
|