首先寻找grub的相关程序
~ su
# find / -name "*grub*"
找到grub修改启动引导默认值的程序为/usr/sbin/grub2-set-default
查看grub2-set-default的帮助
# grub2-set-default --help
返回如下的帮助信息
Usage: grub2-set-default [OPTION] MENU_ENTRY
Set the default boot menu entry for GRUB.
This requires setting GRUB_DEFAULT=saved in /etc/default/grub.
-h, --help print this message and exit
-v, --version print the version information and exit
--boot-directory=DIR expect GRUB images under the directory DIR/g
...Windows的开始菜单文件夹的路径为:
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
而变量%APPDATA%即
C:\Users\%USERNAME%\AppData
所以直接在文件浏览器里转到以下路径即可打开开始菜单
%APPDATA%\Microsoft\Windows\Start Menu\Programs
Win10中好像不太支持将快捷方式拖拽至开始菜单,所以可以直接打开开始菜单的文件夹将之放入开始菜单。
...到http://download1.rpmfusion.org/free/fedora/下载rpmfusion第三方库。
$ wget http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-23.noarch.rpm
安装rpmfusion第三方库,rpmfusion有fedora官方库中所没有的一些软件,例如vlc。
# dnf install -y rpmfusion-free-release-23.noarch.rpm
到https://lug.ustc.edu.cn/wiki/mirrors/help/fedora下载
$ wget https://lug.ustc.edu.cn/wiki/_export/code/mirrors/help/fedora?codeblock=0 -O /etc/yum.repos.d/fedora-ustc.repo
$ wget https://lug.ustc.edu.cn/wiki/_expo
...蹭别人的网,被人用地太疯狂了,前天还能连上,今天就被封禁了。只有修改无线网卡的MAC。
于是乎,先将就用手机通过USB数据线共享热点,笔记本也勉强可以用。
在网上找了一下资料,发现可以临时性的修改MAC地址(说是重启后恢复原MAC),大概不会对网卡造成多大伤害,正合我意。
linux修改MAC不用额外安装软件。
1、首先查找无线网卡的名称和MAC
ifconfig
找到我笔记本无线网卡的名称是wlp8s0b1,找出其中的MAC地址
ifconfig wlp8s0b1 |grep ether
把MAC地址复制下来。
2、设置网卡wlp8s0b1的MAC
# #先禁用wlp8s0b1
# ifconfig wlp8s0b1 down
# ifconfig wlp8s0b1 hw ether c0:f8:xx:xx:xx:xx
3、设置成功后启用wlp8s0b1并连接此ssid
果然毫无悬念的秒连上了。
其实,我本无心蹭网,奈何左邻右舍都没有WIFI,竟不知道网信号从何来。过段时间修改一下路由器MAC设置一下挢接模式,免得心虚不已。这段时间不得已使用此WIFI了,直到你
...