Setting up a Linksys WRT54G router for SSH port forwarding
by Mickey
Fedora 12 on both computers
I have two computers setting behind this Linksys WRT54G router and I
want to connect to both of them by SSH remote across the Internet. I
have the internet IP for this router.
#1 192.168.1.100
#2 192.168.1.101
In the The Applications and Gaming Tab - Port Range Forward Tab , I have
setup one computer as , ssh 22 22 Both
192.168.1.100 enable and it works okay.
But how do I setup computer #2 192.168.1.101 .
I have Googled the Internet and found out how to setup one on port 22 ,
but not Two computers using SSH port 22
13 years, 8 months
kernel tainted after fresh install; Fedora contains such modules?
by Franta Hanzlík
After fresh Fedora install (from Fedora repo only) I found in
"/var/log/messages" records as:
Oct 1 07:08:26 ns kernel: ------------[ cut here ]------------
Oct 1 07:08:26 ns kernel: WARNING: at lib/dma-debug.c:791
check_unmap+0x7a/0x59b()
Oct 1 07:08:26 ns kernel: Hardware name: EP45-DQ6
Oct 1 07:08:26 ns kernel: dl2k 0000:09:00.0: DMA-API: device driver
tries to free an invalid DMA memory address
Oct 1 07:08:26 ns kernel: Modules linked in: bluetooth rfkill
nf_nat_ftp nf_conntrack_ftp iptable_nat nf_nat xt_u32 ipt_LOG xt_limit
uinput iTCO_wdt i2c_i801 iTCO_vendor_support r8169 mii i2c_core dl2k
microcode raid1 [last unloaded: hwmon_vid]
Oct 1 07:08:26 ns kernel: Pid: 2454, comm: ip Tainted: G W
2.6.35.4-28.fc14.i686.PAE #1
Oct 1 07:08:26 ns kernel: Call Trace:
Oct 1 07:08:26 ns kernel: [<c0441f39>] warn_slowpath_common+0x6a/0x7f
Oct 1 07:08:26 ns kernel: [<c05dfbc6>] ? check_unmap+0x7a/0x59b
Oct 1 07:08:26 ns kernel: [<c0441fc1>] warn_slowpath_fmt+0x2b/0x2f
Oct 1 07:08:26 ns kernel: [<c05dfbc6>] check_unmap+0x7a/0x59b
Oct 1 07:08:26 ns kernel: [<c0467ae1>] ?
print_lock_contention_bug+0x11/0xa8
Oct 1 07:08:26 ns kernel: [<c0467dad>] ? lock_acquired+0x235/0x23d
Oct 1 07:08:26 ns kernel: [<c05daf43>] ? debug_object_deactivate+0x28/0x92
Oct 1 07:08:26 ns kernel: [<c05e0195>] debug_dma_unmap_page+0x5a/0x62
Oct 1 07:08:26 ns kernel: [<f7e6b2d5>] pci_unmap_single+0x58/0x63 [dl2k]
Oct 1 07:08:26 ns kernel: [<f7e6cd5c>] rio_close+0x9e/0x114 [dl2k]
Oct 1 07:08:26 ns kernel: [<c075058a>] __dev_close+0x70/0x85
Oct 1 07:08:26 ns kernel: [<c07519d9>] __dev_change_flags+0x98/0x10d
Oct 1 07:08:26 ns kernel: [<c0751abe>] dev_change_flags+0x18/0x44
Oct 1 07:08:26 ns kernel: [<c075a44f>] do_setlink+0x253/0x52e
Oct 1 07:08:26 ns kernel: [<c0467ae1>] ?
print_lock_contention_bug+0x11/0xa8
Oct 1 07:08:26 ns kernel: [<c0467dad>] ? lock_acquired+0x235/0x23d
Oct 1 07:08:26 ns kernel: [<c04d0bf9>] ? handle_mm_fault+0x342/0x8f4
Oct 1 07:08:26 ns kernel: [<c075af7a>] rtnl_newlink+0x218/0x3a6
Oct 1 07:08:26 ns kernel: [<c075ae18>] ? rtnl_newlink+0xb6/0x3a6
Oct 1 07:08:26 ns kernel: [<c0467dad>] ? lock_acquired+0x235/0x23d
Oct 1 07:08:26 ns kernel: [<c075a0f0>] ? rtnl_lock+0x14/0x16
Oct 1 07:08:26 ns kernel: [<c075a0f0>] ? rtnl_lock+0x14/0x16
Oct 1 07:08:26 ns kernel: [<c07e3e85>] ? __mutex_lock_common+0x2d0/0x2da
Oct 1 07:08:26 ns kernel: [<c0467dad>] ? lock_acquired+0x235/0x23d
Oct 1 07:08:26 ns kernel: [<c075ad62>] ? rtnl_newlink+0x0/0x3a6
Oct 1 07:08:26 ns kernel: [<c075abb7>] rtnetlink_rcv_msg+0x19c/0x1ab
Oct 1 07:08:26 ns kernel: [<c075aa1b>] ? rtnetlink_rcv_msg+0x0/0x1ab
Oct 1 07:08:26 ns kernel: [<c076a19a>] netlink_rcv_skb+0x37/0x78
Oct 1 07:08:26 ns kernel: [<c075a112>] rtnetlink_rcv+0x20/0x27
Oct 1 07:08:26 ns kernel: [<c0769d7b>] netlink_unicast+0xc6/0x121
Oct 1 07:08:26 ns kernel: [<c076a004>] netlink_sendmsg+0x22e/0x23b
Oct 1 07:08:26 ns kernel: [<c0740d65>] __sock_sendmsg+0x56/0x5f
Oct 1 07:08:26 ns kernel: [<c0741056>] sock_sendmsg+0x98/0xac
Oct 1 07:08:26 ns kernel: [<c04ce553>] ? might_fault+0x4c/0x86
Oct 1 07:08:26 ns kernel: [<c0469b00>] ? lock_release+0x17f/0x186
Oct 1 07:08:26 ns kernel: [<c07497a1>] ? copy_from_user+0xd/0xf
Oct 1 07:08:26 ns kernel: [<c0749ad7>] ? verify_iovec+0x43/0x70
Oct 1 07:08:26 ns kernel: [<c0742b45>] sys_sendmsg+0x182/0x1e6
Oct 1 07:08:26 ns kernel: [<c0467ae1>] ?
print_lock_contention_bug+0x11/0xa8
Oct 1 07:08:26 ns kernel: [<c0467dad>] ? lock_acquired+0x235/0x23d
Oct 1 07:08:26 ns kernel: [<c04cec8e>] ? __do_fault+0x206/0x396
Oct 1 07:08:26 ns kernel: [<c04cedf2>] ? __do_fault+0x36a/0x396
Oct 1 07:08:26 ns kernel: [<c0469bb8>] ? lock_acquire+0xb1/0xbc
Oct 1 07:08:26 ns kernel: [<c04ce553>] ? might_fault+0x4c/0x86
Oct 1 07:08:26 ns kernel: [<c0469b00>] ? lock_release+0x17f/0x186
Oct 1 07:08:26 ns kernel: [<c0742f43>] sys_socketcall+0x168/0x1a8
Oct 1 07:08:26 ns kernel: [<c05d5d74>] ? trace_hardirqs_on_thunk+0xc/0x10
Oct 1 07:08:26 ns kernel: [<c04089df>] sysenter_do_call+0x12/0x38
Oct 1 07:08:26 ns kernel: ---[ end trace a70d91368aa35943 ]---
Oops itself is probably suited for bug report, but what isn't clear for
me is line
Oct 1 07:08:26 ns kernel: Pid: 2454, comm: ip Tainted: G W
2.6.35.4-28.fc14.i686.PAE #1
Which module caused that kernel is tainted? I suppose Fedora contains
only open SW including kernel modules, isn't then there something wrong?
Thanks, Franta Hanzlík
13 years, 8 months
SSH can't connect
by Mickey
Wether I run NX (nomachine) or SSH I get the same error message, no
matter what host I try to connect to.
And on the host servers SSHd is running.
And so is the Client box.
Running NX
Error message: ssh: connect to host 70.236.39.98 port 22: Connection
timed out
Running $ ssh jim(a)70.236.39.98
ErrorMessage: ssh: connect to host 70.236.39.98 port 22: Connection
timed out
13 years, 8 months
a sound problem
by 猫行天下
thank you,Stan,and everyone.
In fact, i uses fedora13.the uname -a returns:
Linux sc.sc 2.6.34.7-56.fc13.i686 #1 SMP Wed Sep 15 03:33:58 UTC 2010 i686 i686
i386 GNU/Linux
the version of Gnome is libgnome-2.30.0-1.fc13.i686
the version of pulseaudio is 0.9.21-6.fc13
er....some thing shamed me...the problem I have described seemd not so
correct,today when i logging in the console(tty),
as usual, the music is off. changed to the gnome,as usual,no change. but then i
logout the console and changes into the gnome,
the music *returns*.so,my question is, how can i change the settings to let the
music played even if i switched into the console(and logged in).
i know the wrong description is wasting our time..so sorry to everyone .
especially Stan.
13 years, 8 months
Kernel errors
by Steve Blackwell
I got this error in logwatch this morning:
WARNING: Kernel Errors Present
[<c0796453>] error_code+0x73/0x78 ...: 1 Time(s)
I don't see any problems with my system. What does it mean? Google
wasn't particularly helpful.
# uname -a
Linux steve.blackwell 2.6.32.21-168.fc12.i686 #1 SMP Wed Sep 15
16:25:04 UTC 2010 i686 i686 i386 GNU/Linux
Steve
--
Changing lives one card at a time
http://www.send1cardnow.com
13 years, 8 months
Fedora 12, 13 /KDE freezing Desktop
by Mickey
Fedora 12, 13 /KDE Desktop
I have 4 different Fedora boxes at different locations with KDE Desktops
Freezing Applications or clicking on mouse for intervals of 10-15
seconds at a time. Nothing shows up in System Monitor to indicate why.
Anyone have these problems ?
Up to date , fedora 12, 13.
This is not the week for Fedora to Shine in my family.
13 years, 8 months
what could "use up" X forwarding connections?
by Tom Horsley
Anyone have any clues about what could "use up" some resource
used to create a forwarded X connection (ssh -X)?
I've got these testbeds that run 24/7 on random collections
of both real and virtual machines, and they are all started
from inside a VNC session using ssh -X to get to the target
test machine. The theory is that any test which needs a X
server will be happy with the VNC server.
After running for a few months, tests sometime start failing
because they can't open the X server. Reboot the host (which
is running fedora 13) and recreate the VNC server and things
work again.
Seems like something is getting "used up" that the reboot
cleans up, but I haven't been able to find out what
that something is :-).
13 years, 8 months
input actions, keyboard input (from program output)
by Dj YB
Hello,
I am trying to achieve the next goal.
when I hit a shortcut like (Ctrl+Alt+T) the output of a certain script will be
written to where the cursor is.
so far I didn't find a way and am doing so using the clipboard.
if anyone know or have an idea that would be great.
Thanks in advance,
YB.
13 years, 8 months
Cant format 1TB USB drive ?
by linux guy
Fully up to date F13 machine won't format a 1 TB hard drive mounted via
a USB adapter.
# fdisk /dev/sdc
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): p
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x609682be
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-121601, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-121601, default 121601):
Using default value 121601
Command (m for help): p
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x609682be
Device Boot Start End Blocks Id System
/dev/sdc1 1 121601 976760001 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
# mkfs -text4 /dev/sdc1
mke2fs 1.41.10 (10-Feb-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
61054976 inodes, 244190000 blocks
12209500 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
7453 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616,
78675968,
102400000, 214990848
Writing inode tables: done
ext2fs_mkdir: Attempt to read block from filesystem resulted in short
read while creating root dir
13 years, 8 months