安装Linux Fedora发行版中的问题以及fedora PPPOE联网问题
2016-08-17 11:44
369 查看
最近在安装fedora时遇到几个问题:
1.磁盘分区之后,挂载空间时,显示的可用空间很少。
这种情况是因为磁盘的类型为动态磁盘,而动态磁盘上是不允许安装系统的。此时需要用磁盘助手
把动态磁盘转换为基本磁盘。转换的过程中最多只能有四个主分区,系统预留了一个,所以你只能有三个磁盘卷。多于三会 造成磁盘数据丢失。如果不小心删除了磁盘上的一些数据,可以使用DiskGenius恢复数据,这款软件有破解版的,但不太容易 找到。
2.装好fedora之后,最重要的问题是联网,试了很多种方法之后,感觉还是PPPOE联网比较好用。下面具体说一下怎样联网。
进入终端输入:su
输入密码:(root的密码)
输入ifconfig -a (显示所有网卡信息,如果出现eth0 或enp1(是1,不是L)s0说明网卡驱动正常,否则需 要装网卡驱动
然后输入[root@localhostedit]#pppoe-setup
然后你会看到 pppoe-setup 会输出如下的提示。
Welcome to the PPPoE clientsetup. First, I will run somechecks
on
your system to make sure thePPPoE client is installedproperly...
现在它提示你输入帐号:
Enter your Login Name (defaultedit):(上网账号)
输入网卡:
Enter the Ethernet interface connected to thePPPoE modem
For Solaris, this is likely to be something like/dev/hme0.
For Linux, it will be ethX, where 'X' is anumber.
(default eth0): (查看的时候是eth0或enp1s0)
Doyou
want the link to come up on demand, or stay upcontinuously?
If you want it to come up on demand, enter theidle time inseconds
after which the link should bedropped. If you want the linkto
stay up permanently, enter 'no' (two letters,lower-case.)
NOTE: Demand-activated links do not interact wellwith dynamicIP
addresses. Youmay have some problems with demand-activatedlinks.
Enter the demand value (default no): Enter
Pleaseenter
the IP address of your ISP's primary DNSserver.
If your ISP claims that 'the server will providedynamic DNSaddresses',
enter 'server' (all lower-case)here.
If you just press enter, I will assume you knowwhat you are
doing and not modify your DNSsetup.
Enter the DNS informationhere: server
此时会询问你第二个DNS:直接回车
Pleaseenter
your Password: 上网密码
Please re-enter yourPassword: 上网密码
Please enter 'yes' (three letters, lower-case.) if you want toallow
normal user to start orstop DSL connection (default yes): yes
Pleasechoose
the firewall rules touse. Note that these rules are
verybasic. You are stronglyencouraged to use a moresophisticated
firewall setup; however, thesewill provide basic security. Ifyou
are running any servers onyour machine, you must choose 'NONE'and
set up firewallingyourself. Otherwise, thefirewall rules willdeny
access to all standard serverslike Web, e-mail, ftp, etc. Ifyou
are using SSH, the rules willblock outgoing SSH connectionswhich
allocate a privileged sourceport.
The firewall choicesare:
0 - NONE: This script will not set any firewallrules. You areresponsible
for ensuringthe security of yourmachine. You areSTRONGLY
recommendedto use some kind of firewallrules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfingworkstation
2 - MASQUERADE: Appropriate for a machine acting as an Internetgateway
for aLAN
Choose a type of firewall (0-2): 0
Do you want to start thisconnection at boottime?
Please enter no or yes (defaultno):yes
**Summary
of what you entered **
Ethernet Interface:eth0(enp1s0)
User name: XXXXXXXXX
Activate-on-demand:No
DNS addresses: Supplied byISP's server
Firewalling: NONE
User Control: yes
Accept these settings and adjust configurationfiles (y/n)? y
Congratulations,it
should be all set up!
Type'/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdownppp0'
to bring itdown.
Type '/sbin/pppoe-status/etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the linkstatus.
然后建立连接:
[root@localhostedit]# pppoe-start
查看是否连上:
[root@localhostedit]# pppoe-status
如果出现linkis
up
证明连接成功,去喝杯咖啡,然后就能回来上网了。
如果出现link is down(can't readPPPD_IDFILE--------)说明没有连接成功,此时要查看自己的参数是否都输入的正确。
详情联系企鹅:1955841973
1.磁盘分区之后,挂载空间时,显示的可用空间很少。
这种情况是因为磁盘的类型为动态磁盘,而动态磁盘上是不允许安装系统的。此时需要用磁盘助手
把动态磁盘转换为基本磁盘。转换的过程中最多只能有四个主分区,系统预留了一个,所以你只能有三个磁盘卷。多于三会 造成磁盘数据丢失。如果不小心删除了磁盘上的一些数据,可以使用DiskGenius恢复数据,这款软件有破解版的,但不太容易 找到。
2.装好fedora之后,最重要的问题是联网,试了很多种方法之后,感觉还是PPPOE联网比较好用。下面具体说一下怎样联网。
进入终端输入:su
输入密码:(root的密码)
输入ifconfig -a (显示所有网卡信息,如果出现eth0 或enp1(是1,不是L)s0说明网卡驱动正常,否则需 要装网卡驱动
然后输入[root@localhostedit]#pppoe-setup
然后你会看到 pppoe-setup 会输出如下的提示。
Welcome to the PPPoE clientsetup. First, I will run somechecks
on
your system to make sure thePPPoE client is installedproperly...
现在它提示你输入帐号:
Enter your Login Name (defaultedit):(上网账号)
输入网卡:
Enter the Ethernet interface connected to thePPPoE modem
For Solaris, this is likely to be something like/dev/hme0.
For Linux, it will be ethX, where 'X' is anumber.
(default eth0): (查看的时候是eth0或enp1s0)
Doyou
want the link to come up on demand, or stay upcontinuously?
If you want it to come up on demand, enter theidle time inseconds
after which the link should bedropped. If you want the linkto
stay up permanently, enter 'no' (two letters,lower-case.)
NOTE: Demand-activated links do not interact wellwith dynamicIP
addresses. Youmay have some problems with demand-activatedlinks.
Enter the demand value (default no): Enter
Pleaseenter
the IP address of your ISP's primary DNSserver.
If your ISP claims that 'the server will providedynamic DNSaddresses',
enter 'server' (all lower-case)here.
If you just press enter, I will assume you knowwhat you are
doing and not modify your DNSsetup.
Enter the DNS informationhere: server
此时会询问你第二个DNS:直接回车
Pleaseenter
your Password: 上网密码
Please re-enter yourPassword: 上网密码
Please enter 'yes' (three letters, lower-case.) if you want toallow
normal user to start orstop DSL connection (default yes): yes
Pleasechoose
the firewall rules touse. Note that these rules are
verybasic. You are stronglyencouraged to use a moresophisticated
firewall setup; however, thesewill provide basic security. Ifyou
are running any servers onyour machine, you must choose 'NONE'and
set up firewallingyourself. Otherwise, thefirewall rules willdeny
access to all standard serverslike Web, e-mail, ftp, etc. Ifyou
are using SSH, the rules willblock outgoing SSH connectionswhich
allocate a privileged sourceport.
The firewall choicesare:
0 - NONE: This script will not set any firewallrules. You areresponsible
for ensuringthe security of yourmachine. You areSTRONGLY
recommendedto use some kind of firewallrules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfingworkstation
2 - MASQUERADE: Appropriate for a machine acting as an Internetgateway
for aLAN
Choose a type of firewall (0-2): 0
Do you want to start thisconnection at boottime?
Please enter no or yes (defaultno):yes
**Summary
of what you entered **
Ethernet Interface:eth0(enp1s0)
User name: XXXXXXXXX
Activate-on-demand:No
DNS addresses: Supplied byISP's server
Firewalling: NONE
User Control: yes
Accept these settings and adjust configurationfiles (y/n)? y
Congratulations,it
should be all set up!
Type'/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdownppp0'
to bring itdown.
Type '/sbin/pppoe-status/etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the linkstatus.
然后建立连接:
[root@localhostedit]# pppoe-start
查看是否连上:
[root@localhostedit]# pppoe-status
如果出现linkis
up
证明连接成功,去喝杯咖啡,然后就能回来上网了。
如果出现link is down(can't readPPPD_IDFILE--------)说明没有连接成功,此时要查看自己的参数是否都输入的正确。
详情联系企鹅:1955841973
相关文章推荐
- 【Linux】虚拟机安装 ubuntu 后,更新源无效,以及无法联网安装软件的问题
- 【Linux】虚拟机安装 ubuntu 后,更新源无效,以及无法联网安装软件的问题
- LinuxMint Debian Edition 201012安装笔记(不刻盘安装,以及安装过程中的一些问题)
- Sipp windows安装问题以及linux安装
- fedora 12 下arm-linux-gcc-3.3.2,arm-linux-gcc-3.4.1以及gdb-7.0的安装
- volcanol_Linux_ 问题汇总系列_4_Thinkpad_E40_0578MDC_在Fedora 13 Linux(FC13)中如何安装无线网卡驱动
- REDHAT LINUX ENTERPRISE SERVER 6安装 后的问题 以及 linux 分区 U盘安装
- 解决U盘使用DVD镜像安装Fedora15需要联网的问题
- Linux不同发行版安装软件,例如Fedora安装rpm、Ubuntu安装deb(完)
- 在linux上安装JDK碰到的问题以及linux常用命令的学习
- fedora安装chrome浏览器,出现的问题以及解决
- linux fedora17 yum 安装 tomcat6 遇到的问题
- linux下安装jdk以及java中文问题
- 在Fedora12上安装madplayer过程以及产生问题的解决
- linux下安装net-snmp以及遇到的问题
- 在Fedora12上安装madplayer过程以及产生问题的解决
- 完美解决虚拟机上安装Linux不能联网问题(Ubuntu)
- linux下R安装会遇到问题以及解决方法
- Linux 初步安装出现的问题以及解决流程
- linux下python升级以及安装tkinter的一系列问题