免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 60686 | 回复: 94
打印 上一主题 下一主题

菜鸟100问 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-07 22:24 |显示全部楼层 |倒序浏览
目录
Packages 和 Ports
软件安装卸载工具41   多线程下载ports里的包42   从ports中查找软件43   硬盘空间特紧张44~45   portupgrade47~49   portsnap 简单使用50   Packages 和 Ports精华51   初学者必须知道的事52~59

Shell
命令解释程序Shell60   Shell精华61   Shell常见问题62~63   硬盘安装FreeBSD66   环境设定67   ee编辑器68   vi编辑器69

FreeBSD基础应用
基础应用精华71   基础应用集锦72~76   基础应用补充79~80   全能服务器基础应用篇81~88      基础应用小技巧89~90   基本系統指令介紹91   FreeBSD目录说明92   摘录Handbook读书笔记-第3章93~95   

防火墙
防火墙基础100   PF 防火墙101   PF学习笔记102~120

FreeBSD6.1  没路由器, ADSL拨号上网, ISP动态分配IP, RTL8139
检查过网线,网卡也在启动时显示出来,
就是modem死活地不通,modem指示灯不闪.
怎么回事?希望详细些!
以下是我的ppp.conf

default:
    set log Phase Chat LCP IPCP CCP tun command
    ident user-ppp VERSION (built COMPILATIONDATE)
    set device PPPoE:r10
    set speed sync  
    set mru 1492
    set mtu 1492   
    set ctsrts off
    set timeout 30
    disable lqr
    deny lqr
    add default HISADDR
    enable dns   
adsl:
    set authname *********@******
    set authkey **********
    set dial
    set login
    set ifaddr 10.0.0.1/0 10.0.0.2/0

[ 本帖最后由 minok 于 2006-12-10 11:16 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-11-08 17:20 |显示全部楼层
原帖由 limutian 于 2006-11-8 12:11 发表
default:
          set log Phase tun command # you can add more detailed logging if you wish
          set ifaddr 10.0.0.1/0 10.0.0.2/0

name_of_service_provider:
  set device PPPoEl1 # repl ...



已按照这方法做了,<tab>   set *  还是连不上modem,另外我发现网卡没配置好,
出现以下问题:

# ppp –ddial adsl
Working in ddial mode
Using interface: tun0
# ifconfig
r10: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        ether 00:e0:4c:20:0c:57
        media: Ethernet autoselect (10baseT/UTP)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        Opened by PID 191

当我选网卡为DHCP时,即/etc/rc.conf 并加入下面的设置:
ifconfig_r10="DHCP"
可以接通modem,依然无法拨号.
该如何做?请指教

论坛徽章:
0
3 [报告]
发表于 2006-11-09 00:32 |显示全部楼层
  多谢各位指教,终于可以上网了,特别感谢limutian 提出错误
是我大意了,呵呵,以后一定检查清楚.



# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet6 fe80::2e0:4cff:fe20:c57%rl0 prefixlen 64 scopeid 0x1
        ether 00:e0:4c:20:0c:57
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet 218.72.106.94 --> 61.174.64.21 netmask 0xffffffff
        Opened by PID 191

论坛徽章:
0
4 [报告]
发表于 2006-11-09 13:30 |显示全部楼层
我已装好ports  不知为什么无法安装软件包,例如:
# cd /usr/ports/chinese/kde3-i18n-zh_CN
# make install clean
(错误信息.........略)
***Error code 1

Stop in /usr/ports/chinese/kde3-i18n-zh_CN.
就下载不了,是DNS问题还是其它?

论坛徽章:
0
5 [报告]
发表于 2006-11-09 14:26 |显示全部楼层

论坛徽章:
0
6 [报告]
发表于 2006-11-09 16:36 |显示全部楼层
# cd /usr/ports/chinese/kcfonts
# make install clean
===>  Vulnerability check disabled, database not found
=> kcfonts-1.05.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://freebsd.sinica.edu.tw/pub/distfiles/.
fetch: ftp://freebsd.sinica.edu.tw/pub/distfiles/kcfonts-1.05.tar.gz: NO address record
=> Attempting to fetch from ftp://wm28.csie.ncu.tw/pub/distfiles/.
fetch: ftp://wm28.csie.ncu.tw/pub/distfiles/kcfonts-1.05.tar.gz: NO address record
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBS ... cfonts-1.05.tar.gz: NO address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/chinese/kcfonts.

论坛徽章:
0
7 [报告]
发表于 2006-11-09 16:44 |显示全部楼层
# cd /usr/ports/chinese/arphicttf
# make install clean

You may use the following options:
        WINH_GS                - if you want Ghostscript support
        WINHOUT_X11        - if you DOW'T want X Window support
===>  Vulnerability check disabled, database not found
=> arphicttf-2.11.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://freebsd.sinica.edu.tw/keith/.
fetch: ftp://freebsd.sinica.edu.tw/keith/kcfonts-1.05.tar.gz: NO address record
=> Attempting to fetch from ftp://wm28.csie.ncu.tw/pub/distfiles/.
fetch: ftp://wm28.csie.ncu.tw/pub/distfiles/zh-arphicttf-2.11.tar.gz: NO address record
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBS ... hicttf-2.11.tar.gz: NO address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/chinese/arphicttf.

安装X11,和其它也如此,什么原因?

论坛徽章:
0
8 [报告]
发表于 2006-11-09 16:45 |显示全部楼层
是否装漏什么文件, 我是最小安装系统的...

有关系吗?

[ 本帖最后由 minok 于 2006-11-9 18:00 编辑 ]

论坛徽章:
0
9 [报告]
发表于 2006-11-09 17:30 |显示全部楼层
台湾域名给禁用了,官网的能接通
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/

# cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

怎么办?

论坛徽章:
0
10 [报告]
发表于 2006-11-10 19:12 |显示全部楼层
/etc/resolv.conf
search example.com
nameserver ISP地址

是这样写吗?可为什么会有以下问题:

# fetch http://www.baidu.com/img/logo.gif
fetch: http://www.baidu.com/img/logo.gif: No address record

# fetch http://220.181.27.48/img/logo.gif
logo.gif                        100% of 1576 B 3076 kBps

[ 本帖最后由 minok 于 2006-11-10 19:14 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP