ssh portforwarding, running test client/server over tunnel
by bruce
Hi.
Trying to setup a quick test to create a ssh tunnel between A and B,
and running a test nc server over the ssh connection on port 7100..
As far as I can tell, it should be a matter of setting up the port
forwarding between A and B and then running the test server/client on
the A and B machines..
now, the tricky part, the target "B" machine is being run on a VM, so
the port isn't 22..
I used the following to setup the port forwarding:
ssh -L 7100:74.142.196.218:7100 user(a)74.142.196.218 -p 50122
so being on machine A, the local machine, I setup the ssh tunnel into
machine B, where B is the VM, running ssh over port 50122
this part appears to work.
However, when I then run a test nc server on both machines using port
7100, I get the following:
machine B:
nc -l 7100
machine A
nc localhost 7100
which causes the machine B to display a crash!!!!
>>>channel 3: open failed: connect failed: Connection refused <<<
any ideas/thoughts???
I'm ultimately looking to run a gearman server running on port X and
being able to create a ssh tunnel into the server to access the port.
thanks
10 years, 8 months
video accel F19 on Acer Aspire One D255E netbook, lack thereof.
by Fred Smith
Hi gang!
I have two netbooks, an Asus 901 eeepc, and a newer Acer Aspire One
D255E.
on the older Asus, GoogleEarth runs quite nicely (for such a minimally-
powered system). it's clearly getting some graphical acceleration from
the video chipset. (Thismachine is still running F17, soon to be upgraded,
I hope.)
the Acer, OTOH runs Google Earth so poorly as to be painful to watch
it slowly accumulate bits on the screen, taking several minutes to
build up the default image upon startup. (This machine is running F19.)
The Asus is an old Atom N270 where "lsmod | grep video" reports:
$ lsmod | grep video
uvcvideo 71406 0
videobuf2_vmalloc 13003 1 uvcvideo
videobuf2_memops 13001 1 videobuf2_vmalloc
videobuf2_core 37715 1 uvcvideo
videodev 97059 2 uvcvideo,videobuf2_core
media 19719 2 uvcvideo,videodev
video 18551 1 i915
i2c_core 28312 6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
the Acer (Atom N570, dual core) reports this from lsmod | grep video:
acer aspire one D255E
# lsmod | grep video
uvcvideo 71417 0
videobuf2_vmalloc 13003 1 uvcvideo
videobuf2_memops 13001 1 videobuf2_vmalloc
videobuf2_core 37679 1 uvcvideo
videodev 97069 2 uvcvideo,videobuf2_core
media 19691 2 uvcvideo,videodev
i2c_core 28434 6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
video 18551 2 i915,acer_wmi
they appear virtually identical, except that the Acer includes "acer_wmi"
along with i915 for "video".
Given that they seemto use the same Intel drivers, I'd expect them to
provide more or less the same video performance but at least for Google
Earth, they donot.
Anyone got any cles?
thanks!
Fred
--
---- Fred Smith -- fredex(a)fcshome.stoneham.ma.us -----------------------------
I can do all things through Christ
who strengthens me.
------------------------------ Philippians 4:13 -------------------------------
10 years, 8 months
Another Broadcom Wireless not working
by Mickey
Fedora 18 /KDE
Had Wireless working after Install but did update and it quit working.
I have kmod-wl kernel-3.6.10-4, working in kernel-3.6.10-4.
The driver in lspci for wireless is b43-pci-bridge, but lsmod shows a
b43legacy being loaded.
------------------- -------------
[tom@localhost ~]$ iwconfig
lo no wireless extensions.
em1 no wireless extensions.
Ethernet eth0 Is Working
-------------
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702X
Gigabit Ethernet (rev 02)
Subsystem: Dell Device 8126
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (16000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at faff0000 (64-bit, non-prefetchable)
[disabled] [size=64K]
Expansion ROM at <ignored> [disabled]
Capabilities: <access denied>
Kernel driver in use: tg3
Wireless Card Not Working
-------------
02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller (rev 02)
Subsystem: Dell TrueMobile 1300 WLAN Mini-PCI Card
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32
Interrupt: pin A routed to IRQ 5
Region 0: Memory at fafee000 (32-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: b43-pci-bridge
$ lsmod
Module Size Used by
ipt_MASQUERADE 12761 1
nf_conntrack_netbios_ns 12586 0
nf_conntrack_broadcast 12488 1 nf_conntrack_netbios_ns
ip6table_mangle 12621 1
be2iscsi 76220 0
ip6t_REJECT 12827 2
iscsi_boot_sysfs 15122 1 be2iscsi
bnx2i 49543 0
nf_conntrack_ipv6 14078 26
cnic 57574 1 bnx2i
nf_defrag_ipv6 13709 1 nf_conntrack_ipv6
uio 14413 1 cnic
cxgb4i 32075 0
cxgb4 97513 1 cxgb4i
cxgb3i 28034 0
iptable_nat 13139 1
nf_nat 24501 2 ipt_MASQUERADE,iptable_nat
cxgb3 130967 1 cxgb3i
iptable_mangle 12616 1
mdio 13244 1 cxgb3
nf_conntrack_ipv4 14458 25 nf_nat,iptable_nat
libcxgbi 54562 2 cxgb3i,cxgb4i
ib_iser 32692 0
nf_defrag_ipv4 12602 1 nf_conntrack_ipv4
xt_conntrack 12665 48
rdma_cm 37085 1 ib_iser
nf_conntrack 72003 8
nf_conntrack_netbios_ns,ipt_MASQUERADE,nf_nat,xt_conntrack,nf_conntrack_broadcast,iptable_nat,nf_conntrack_ipv4,nf_conntrack_ipv6
ebtable_filter 12716 0
ib_addr 13513 1 rdma_cm
ebtables 21316 1 ebtable_filter
iw_cm 13753 1 rdma_cm
bnep 18864 2
ib_cm 36713 1 rdma_cm
bluetooth 275642 7 bnep
ip6table_filter 12712 1
ip6_tables 17745 2 ip6table_filter,ip6table_mangle
ib_sa 23966 2 rdma_cm,ib_cm
ib_mad 37175 2 ib_cm,ib_sa
ib_core 61976 6 rdma_cm,ib_cm,ib_sa,iw_cm,ib_mad,ib_iser
iscsi_tcp 18016 0
libiscsi_tcp 19468 4 cxgb3i,cxgb4i,iscsi_tcp,libcxgbi
libiscsi 44825 8
libiscsi_tcp,bnx2i,cxgb3i,cxgb4i,be2iscsi,iscsi_tcp,ib_iser,libcxgbi
scsi_transport_iscsi 46616 8
bnx2i,be2iscsi,iscsi_tcp,ib_iser,libcxgbi,libiscsi
snd_intel8x0m 18424 0
snd_intel8x0 33135 2
snd_ac97_codec 104813 2 snd_intel8x0,snd_intel8x0m
ac97_bus 12631 1 snd_ac97_codec
snd_seq 54700 0
snd_seq_device 13825 1 snd_seq
snd_pcm 81512 3 snd_ac97_codec,snd_intel8x0,snd_intel8x0m
b43legacy 103935 0
snd_page_alloc 13710 3 snd_intel8x0,snd_pcm,snd_intel8x0m
mac80211 471137 1 b43legacy
snd_timer 23743 2 snd_pcm,snd_seq
snd 63247 11
snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_seq_device,snd_intel8x0m
ppdev 17364 0
iTCO_wdt 13257 0
soundcore 14124 1 snd
cfg80211 170721 2 mac80211,b43legacy
parport_pc 27404 0
dell_laptop 17162 0
iTCO_vendor_support 13244 1 iTCO_wdt
dcdbas 14365 1 dell_laptop
rfkill 20452 3 cfg80211,bluetooth
lpc_ich 16926 0
microcode 18725 0
parport 39144 2 ppdev,parport_pc
joydev 17162 0
uinput 17305 0
radeon 820581 2
i2c_algo_bit 13066 1 radeon
drm_kms_helper 43550 1 radeon
ttm 62706 1 radeon
ssb 55249 1 b43legacy
drm 215930 4 ttm,drm_kms_helper,radeon
mmc_core 97635 1 ssb
yenta_socket 40363 0
tg3 138796 0
i2c_core 28450 4 drm,drm_kms_helper,i2c_algo_bit,radeon
video 18505 0
sunrpc 215746 1
10 years, 8 months
Weird problem if printing page ranges of pdf files in F19 by acroread/evince
by Joachim Backes
Hi all,
I have the following problem with printing page ranges of pdf files to
my laser printer (samsung ml-1660) using acroread or evince:
Only the first page of the range is printed, the rest of pages is
missing. The same happens if I try to print the whole pdf file (only
page #1 is printed).
No such effect if I print to a cups-pdf printer (all pages printed)
Or no such effect if using the lp command together with -P option (page
range): all desired pages are printed flawlessly.
I have no idea since which date this happens.
Any ideas are welcome.
Kind regards
Joachim Backes
--
Fedora release 19 (Schrödinger’s Cat)
Kernel-3.11.0-200.fc19.x86_64
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
https://www-user.rhrk.uni-kl.de/~backes
10 years, 8 months
More on virt-viewer for windows
by Fernando Lozano
Hi there,
As the newer windows binaries kindly provided by teuf won't work because
of missing DLLs, I returned to the latest binaries provided by
spice-space.org.
remove-viewer.exe works fine, after I foud where to put TLS
certificates. Not that user-friendly though. :-)
virt-viewer and virsh won't connect, although they are using the same
certificates as a Linux client.
The short-term goal is getting virt-manager to work, butI think it'd be
easier to get virsh working first, but the solution would apply to
virt-manager as well.
Microsoft SystemInternals ProccessMonitor shows the certificates are
being found and read (that's how I found where to put then). I assume
that's ok. But after that nothing I can use for troubleshooting. Looks
like a bug on the windows port networking code.
But I finally found how to use libvirt own debugging features. So here's
attached a log for the windows machine, which can't connect, and the
linux machine, which connects fine to the same kvm host, using the same
certificates and the same URL (to the same CentOS 6.3 kvm host). They
are using different virsh and libvirt releases, so I added to the logs
the output of "virsh -V". Both machines are on the same level-2 network,
vlan and IP subnet.
I hope this helps someone find the bug and provide me with new binaries
to test. :-)
If someone helps me getting the missing DLLs for teuf newer binaries, I
can generate a log using them. It looks the missing DLLs is another bug
per se.
Of course, I hope someonte at Red Hat realizes a missing or broken
windows ports hurts KVM and RHEL and RHEV market share and put more
people on it. :-)
PS: Someone offered helping me compiling the windows port. I'll give it
a try, no promises, free time is very scarse. :-(
[]s, Fernando Lozano
10 years, 8 months
grub2-editenv: error: environment block too small.
by Lester M Petrie
Whenever I update to a new kernel, I get the following message (3 times I
think).
RPM Scriptlet: grub2-editenv: error: environment block too small.
What does it mean? What do I do to make it go away?
--
Lester M Petrie
RNSD/ORNL
865-574-5259
petrielmjr(a)ornl.gov
10 years, 8 months
serial console
by lxnf98mm@gmail.com
I have a server set up with Fedora 18, works ok.
I decided to make the root partition encrypted, set that up, works ok.
The machine is remote so I use a serial console to connect, works ok.
Here's the rub, while booting there is a pause to request the passphrase
to unlock the encrypted fs.
If I have grub configured to display boot messages on tty0 and ttyS0 the
passphrase can only be entered at tty0.
If I configure grub to only display boot messages on ttyS0 then the
passphrase can be entered on ttyS0.
How can I display boot messages on tty0 and ttyS0 and enter the passphrase
on the terminal that I am working on.
This is my /etc/default/grub.
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,57600n8 ipv6.disable=1 selinux=0 "
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=57600 --unit=0 --word=8 --parity=no --stop=1"
GRUB_DISABLE_RECOVERY="true"
Richard
10 years, 8 months
Does anybody know why Fedora does this?
by Joe Zeff
We all know, I hope, that cd is a built-in function of whatever shell
you're using.
[joe@khorlia ~]$ cat /usr/bin/cd
#!/bin/sh
builtin cd "$@"
[joe@khorlia ~]$
Does anybody know why this file exists?
10 years, 8 months
current way to show pop-up windows in other users sessions?
by M. Fioretti
Greetings,
it's been a looong, long time since the last time I did this, so I
need a bit of help to refresh my memory. In a sense, what I'm unable
to remember right now is what docs I should read...
I have a cron shell script that, if some event happens, must:
1) check if a *local* user A is currently logged in, and in which
session/display
2) if yes, pop up a window in the session of user A, showing the
content of a text file
I know how to do (1) with "who":
[marco@polaris ~]$ who
bill :2 2013-09-10 19:56
this tells me that "bill" (i.e. NOT me, another user!!!) **is**
currently logged in on display :0
and I also know how to do (2) with kdialog, zenity, xmessage...
but of course, if I launch kdialog I get nothing but the "Error: can't
open display" message. Setting DISPLAY to ":2", "ip.address:2",
":2.0"... doesn't change anything.
(many) years ago this was solved with xhost +, but not now. So, what
is the current way to make (2) happen? Possibly one that is
distribution-agnostic?
TIA,
Marco
10 years, 8 months
Re: LAN driver problem
by Giovanni Ortosecco
>
>On 09/11/2013 09:29 AM, Giovanni Ortosecco wrote:
>> Dear List,
>> first of all I wish to greet all members.
>> My name is Giovanni and I'm a chemist in Naples, Italy.
>>
>> The problem I found is as follows: at work I use Fedora 10 and a
>few days ago I changed the motherboard because the old one is
>broken. With the new motherboard LAN connection to the network has
>stopped working.
>> The new motherboard is as follows:
>> http://www.gigabyte.com/products/product-page.aspx?pid=3505 # sp
>>
>> and as a controller LAN has, as you can see, the Atheros AR8151
>chip (10/100/1000 Mbit).
>>
>> I saw on the net that there were many problems with this AR8151 chip.
>> I also tried to download the latest drivers and install them, but
>nothing to do. I only found drivers for Atheros different versions
>of the chip, but not for AR8151
>>
>> Unfortunately I am forced to not being able to upgrade the
>operating system to the new Fedora 19.
>>
>> I also tried to live to start both Fedora 19 and Ubuntu 13.04 and
>the LAN is working properly. So I think it is intended solely as a
>driver problem.
>>
>> Thank you in advance for the help you want to give me.
>> Greetings to all,
>>
>> Friendliness.
>>
>When you changed the motherboard, the network device named probably
>changed with it. This is because Fedora remembers the hardware
>associated with the device name. You may want to report back the
>results of running:
>
>/sbin/ifconfig -a
>
>It will show you what network interfaces the system knows about.
>
>Mikkel
>- --
Dear Mikkel,
the output of the command ifconfig -a is as follows:
[sabina@sabina-linux archivio]$ sudo ifconfig -a
[sudo] password for sabina:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9603 (9.3 KiB) TX bytes:9603 (9.3 KiB)
pan0 Link encap:Ethernet HWaddr 06:62:7C:97:32:A8
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vboxnet0 Link encap:Ethernet HWaddr 00:76:62:6E:65:74
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[sabina@sabina-linux archivio]$
is pan0 my LAN device not working?
I have some doubts because, always about the new motherboard, when I start
the live version of Fedora 19, and I was recognized as the network (and was
working), the MAC address of the LAN device (obtained with the command ifconfig
-a) was different.
How do I configure this network adapter?
Thanks in advance,
Best regards,
Giovanni
10 years, 8 months