Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 214 online users. » 0 Member(s) | 211 Guest(s) Applebot, Bing, Google
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 448
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 88,071
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 41,709
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,891
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,374
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,441
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 117,616
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 55,506
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 45,506
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 42,033
|
|
|
suse 9.3 professional on dell latitude d610 |
Posted by: anyweb - 2005-04-05, 12:52 PM - Forum: SUSE
- Replies (7)
|
 |
hi, getting wireless to work was a pain,
it identified the Intel 2200bg card just fine but yast was no help in setting up wireless. Finally after much trying, and some googling i discovered that there was a message in /var/log/messages which read
Quote:Kill Switch must be turned off for wireless networking to work
which is great, at least now i can see why i wasted hours trying to get wireless to work. so some more googling explains the following:-
[/url][url=http://marc.theaimsgroup.com/?l=suse-amd64...69505013930&w=2]http://marc.theaimsgroup.com/?l=suse-amd64...69505013930&w=2
Code: cat /sys/bus/pci/drivers/ipw2200/0000\:03\:03.0/rf_kill
will return a value, explained below...
so on a Latitude D610, if you cycle through FN+F2 the value reported by the code above will give a number corresponding to below. You need a '0' (zero) to get wireless working.
0 = RF kill not enabled (radio on)
1 = SW based RF kill active (radio off)
2 = HW based RF kill active (radio off)
3 = Both HW and SW RF kill active (radio off)
to quickly get this info i made a simple bash script which tells me what the state is when run,
simply fire up vi and paste this in
Code: #!/bin/sh
cat /sys/bus/pci/drivers/ipw2200/0000\:03\:03.0/rf_kill
then chmod +x wireless_state
(or whatever you called the file).
sh wireless_state will then return a value. once you get it working iwconfig will hopefully look like this
Quote:eth0 IEEE 802.11b ESSID:"wireless" Nickname:"linux" Mode:Managed Frequency:2.437 GHz Access Point: 00:05:5D:99:CF:4D
Bit Rate=11 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:1111-2233-44 Security mode:open
Power Management:off
Link Quality=70/100 Signal level=-58 dBm Noise level=-85 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
cheers
anyweb
|
|
|
More Monday FUN.. |
Posted by: lia - 2005-04-04, 09:09 PM - Forum: Jokes
- No Replies
|
 |
Amish Elevator
An Amish boy and his father were in a mall. They were amazed by almost everything they saw, but especially by two shiny, silver walls that could move apart and then slide back together again.
The boy asked, "What is this, Father?" The father (never having seen an elevator) responded,
"Son, I have never seen anything like this in my life, I don't know what it is."
While the boy and his father were watching with amazement, a fat, old lady went up to the moving walls and pressed a button. The walls opened and the lady passed between them into a small room. The walls closed and the boy and his father watched the small circular numbers above the walls light up sequentially. They continued to watch until it reached the last number and then the numbers began to light in the reverse order.
Finally the walls opened up again and a gorgeous 24-year-old blonde stepped out.
The father said quietly to his son..."Go get your mother"
|
|
|
Monday FUN =) |
Posted by: lia - 2005-04-04, 08:56 PM - Forum: Jokes
- Replies (1)
|
 |
Several men are in the locker room of a golf club. A mobile phone on a bench rings and a man engages the hands free speaker function and begins to talk. Everyone else in the room stops to listen.
MAN: "Hello"
WOMAN: 'Honey, it's me. Are you at the club?"
MAN: "Yes"
WOMAN: "I am at the shopping centre now and found this beautiful leather
coat. It's only
|
|
|
Xbox Linux |
Posted by: Shibz - 2005-04-03, 01:47 AM - Forum: General Chat
- Replies (2)
|
 |
w00t i just successfully installed Gentoo Linux on my Xbox (i am using it now to write this post). I need some help though. I installed and it never gave me a chance to pick my keyboard map so now I am stuck with a european keyboard map. When I press the number sign thingy, I get a
|
|
|
ubuntu |
Posted by: znx - 2005-04-01, 05:58 PM - Forum: Ubuntu
- Replies (5)
|
 |
thought maybe it would be interesting to indicate my recent experience with installation of ubuntu.
first up if you are a debian user already i would say dont make the switch. although ubuntu has a couple of tweaks that set it apart from debian it is plainly just debian under another coat. as with debian you won't get charged for ubuntu.
so why choose ubuntu over debian. well first up most of the debian coders are now coding for ubuntu, hopefully this wont me the end of debian (i doubt it very much) but this means that the group in control of ubuntu has a great deal of experience with deb.
Ubuntu is going to be different to debian, instead of waiting it out to stabilize everything across the board (how long has sarge being in 'testing') they plan on a stable build released every six months. This should mean that you will achieve in gaining all the lastest releases (kernel/kde/gnome). They also make the claim that ubuntu should 'just work'. The idea being that all installs/updates shouldn't cause problems for the user but instead just install and work.
Instead of constantly being forced to secure older releases (how long has woody been getting patched?) they are going to limit themselves to only 18 monthes of support for the release. This means that if you don't keep up-to-date you won't keep getting security patches.
the installer is text based (who needs a gui to install!). i found it to be quite simple, just kept clicking ok to everything. that was that, installed, once booted it was running dhcp. i was done on the net and on the linux-noob forums [img]<___base_url___>/uploads/emoticons/default_laugh.png[/img] id say it took me around 45 minutes total to install the system. this was on a 333Mhz 384Mb RAM PII system.
once up and running i used the default desktop of gnome. although i have never been a real fan of gnome, i found it to be easy to use. all the major functions that i would normally undertake where there.
of course i then went and installed kde, then fluxbox. all just worked out of the box and now im getting down to customizing the desktop to my liking.
not yet tried debian, then shoot for ubuntu.
|
|
|
Crontab and general syntax |
Posted by: Shock Wave - 2005-03-30, 09:42 PM - Forum: How Do I?
- Replies (3)
|
 |
Hi all. I'm doing a Crontab assignment and I can't make out what the syntax for one of the questions is implying. Here it is:
1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c > /dev/null 2>&1
From my textbook, I can make out the first 5 fields, but I have no idea what that command means. Does anyone know what that madness means?
|
|
|
Date and time wont say set |
Posted by: AsProductions - 2005-03-29, 02:40 PM - Forum: Redhat
- Replies (12)
|
 |
Hoy hoy,
I'm not sure if this is the right area to get a response to this topic but figured since this is a RH box that it made sense. I'm running a RH9 box and for some reason at every hour the system clock falls behind about 4 hours. First I made sure the HW clock was set and then used the hwclock commande to set the system time the same as the HW time. So the hw time was 9:15 and now the sys time matched. At the hour mark, the hw time said 10:01 but the sys time was 6:01. They are both set to the AST time zone. What gives? This box also hosts sendmail, could that have anything to do with it?
Thanks
P.S. I'm working on configuring a FC3 box as well to replace this box.
|
|
|
Tuesday Fun =) |
Posted by: lia - 2005-03-28, 10:10 PM - Forum: Jokes
- No Replies
|
 |
Smart Ass Answer #5:
A flight attendant was stationed at the departure gate to check tickets. As a man approached, she extended her hand for the ticket and he opened his trench coat and flashed her. Without missing a beat, she said, "Sir, I need to see your ticket, not your stub."
Smart Ass Answer #4:
A lady was picking through the frozen turkeys at the grocery store, but she couldn't find one big enough for her family. She asked a stock boy, "Do these turkeys get any bigger?" The stock boy replied, "No ma'am, they're dead."
Smart Ass Answer #3:
The cop got out of his car and the kid who was stopped for speeding rolled down his window. "I've been waiting for you all day," the cop said. The kid replied, "Yeah, well I got here as fast as I could." When the cop finally stopped laughing, he sent the kid on his way without a ticket.
Smart Ass Answer #2:
A truck driver was driving along on the freeway. A sign comes up that reads, "Low Bridge Ahead." Before he knows it, the bridge is right ahead of him and he gets stuck under the bridge. Cars are backed up for miles. Finally, a police car comes up. The cop gets out of his car and walks to the truck driver, puts his hands on his hips and says, "Got stuck, huh?" The truck driver says, "No, I was delivering this bridge and ran out of gas."
AND NOW FOR THE #1 SMART ASS ANSWER OF 2004!
A college teacher reminds her class of tomorrow's final exam. "Now class, I won't tolerate any excuses for you not being here tomorrow. I might consider a nuclear attack or a serious personal injury or illness, or a death in your immediate family, but that's it, no other excuses whatsoever!" A smart ass guy in the back of the room raised his hand and asked, "What would you say if tomorrow I said I was suffering from complete and utter sexual exhaustion?" The entire class is reduced to laughter and snickering. When silence was restored, the teacher smiled knowingly at the student, shaking her head and sweetly said "Well, I guess you'd have to write the exam with your other hand."
|
|
|
chrooting SSH on Fedora Core 3 |
Posted by: xDamox - 2005-03-28, 03:15 PM - Forum: Remote Access
- Replies (6)
|
 |
First off install ssh (must be the PAM enabled version)and you also need the libpam_chroot module.
if you have install ssh by default on fedora this module is installed :)
Ok so they should be installed.
Then edit "/etc/pam.d/sshd".
Code: #%PAM-1.0
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session required pam_chroot.so
if you do have pam_limits.so in the sshd config file comment it out with a # or remove the line
Hopefully a pam 'head' can explain why the limit file gives difficulties... probably something simple.
Ok so now when ssh uses pam it should use the pam_chroot. Thats what we just setup. Now we need to tell ssh to actaully use it [img]<___base_url___>/uploads/emoticons/default_laugh.png[/img]
Edit "/etc/ssh/sshd_config". I'm not going to put in the WHOLE sshd_config file here just the two lines that require to be set the ... represent the rest of the file.
Code: #normally this is yes.. so switch to no
UsePrivilegeSeparation no
#normally this is yes...but check
UsePAM yes
Ok it should be stressed that you should NEVER run ssh with UsePriv.. set to no unless you plan on chroot'in. This basically gives ssh the ability to be root, this can lead to real dangers. We need it to run as root because we cannot chroot the user into the new chroot enviroment unless we are root.
Right.. so sshd is ready... Now to finish off the PAM setup.
Edit "/etc/security/chroot.conf"
NOW we're ready.... Restart your ssh daemon to get the new config:
Code: /etc/init.d/sshd restart
Once you have got this far you will want to chown /home/znx to root:root
Code: chown root.root /home/znx
The finally change the permission to 755
you will need to add the binarys and library files to the chroot as shown below:
Code: # cd /home/
# mkdir chroot
# cd chroot/
# mkdir bin lib
# cp /bin/bash bin/
# ldd /bin/bash
libncurses.so.5 => /lib/libncurses.so.5 (0x40025000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x40062000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x40065000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# cp /lib/libncurses.so.5 lib/
# mkdir lib/tls/i686/cmov -p
# cp /lib/ld-linux.so.2 lib/
# cp /lib/tls/i686/cmov/{libdl.so.2,libc.so.6} lib/
# cd
# chroot /home/chroot/ /bin/bash
bash-2.05b# ls
bash: ls: command not found
bash-2.05b# exit
Well thats it. The ssh daemon will now force a user into the chroot 'jail' using PAM. Lets test...
Code: # ssh -l znx localhost
Password: *******
Last login: Fri Mar 25 19:28:08 2005 from localhost.localdomain
-bash-2.05b$ ls
-bash: ls: command not found
-bash-2.05b$ logout
Connection to ubuntu closed.
Jy provided a link to the following site with a script that will move the binarys and librarys to the chrooted dir:
[/url][url=http://www.fuschlberger.net/programs/ssh-scp-chroot-jail/]http://www.fuschlberger.net/programs/ssh-scp-chroot-jail/
This guide was produced by znx and edited by xDamox ;) many thanks to znx
|
|
|
|