如果我的本地主机出现故障,我如何重新建立隧道?
我有 2 台机器,Remotehost 和 localhost,在我的 localhost 上运行 autossh 以在出现网络问题时保持隧道活动。
autossh -M 20000 -L 3300:192.168.2.101:3306 -R 3000:192.168.1.3:3000 [email protected] -p 80
但是如果我需要重新启动本地主机怎么办?那我如何自动重新连接隧道?
如果我的本地主机出现故障,我如何重新建立隧道?
我有 2 台机器,Remotehost 和 localhost,在我的 localhost 上运行 autossh 以在出现网络问题时保持隧道活动。
autossh -M 20000 -L 3300:192.168.2.101:3306 -R 3000:192.168.1.3:3000 [email protected] -p 80
但是如果我需要重新启动本地主机怎么办?那我如何自动重新连接隧道?
我在尝试升级 Mono 时遇到了一些问题
我已经添加到sources.list deb http://badgerports.org lucid main
尝试升级,似乎运行良好,但我明白了
mono -V
Mono JIT compiler version 2.4 (tarball Fri Oct 2 12:47:18 CEST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
再做一次时,我说已经是最新版本了。
# apt-get install mono-runtime mono-2.0-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
mono-runtime is already the newest version.
mono-2.0-devel is already the newest version.
The following packages were automatically installed and are no longer required:
python-rpm rpm python-urlgrabber
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
有人对如何解决此问题提出建议吗?
我试过了
apt-get purge mono-runtime mono-2.0-devel
并完成了重新安装但仍然是相同的版本
如何从终端添加 pgp 密钥?
我已将 deb http://badgerports.org lucid main 添加到 sources.list 并且当我执行sudo apt-get update我得到
W: GPG error: http://badgerports.org lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C90F9CB90E1FAD0C
这是我需要添加的关键 http://badgerports.org/directhex.ppa.asc
安装 Ubuntu 10.04 后,我遇到了一些闪烁问题,所以我尝试升级驱动程序等,然后我安装了fglrx
驱动程序并且闪烁消失了,但是当尝试从 1-6 访问 TTY 屏幕时,屏幕变为空白。我可以在 tty7 上重新使用 gnome。
有人对在这里尝试什么有建议吗?
丹尼斯
输出是:
glennwiz@Linux-laptop:~$ sudo cat /dev/vcs1
Ubuntu 10.04.1 LTS Linux-laptop tty1
Linux-laptop login:
使用 radeon x1300 的Nerdfest
lspci output
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc M52 [Mobility Radeon X1300]
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
02:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
02:06.4 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller
08:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5753M Gigabit Ethernet PCI Express (rev 21)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
有人有建议吗?