Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,208
» Latest member: slotqris
» Forum threads: 4,029
» Forum posts: 16,404
Full Statistics
|
Online Users |
There are currently 178 online users. » 0 Member(s) | 176 Guest(s) Bing, Yandex
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 70
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 73,961
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 30,506
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,648
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,053
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 40,632
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 103,504
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 44,248
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 34,677
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 40,154
|
|
|
Greetings from Malaysia |
Posted by: goldwave84 - 2008-03-19, 04:51 AM - Forum: Hello
- Replies (3)
|
 |
Hi everyone!
My name is ashley and I am a linux noob! I started thinking real hard about changing from Windows after my recent virus attack. Then I heard that XP will be stopped by June. I do not know of the consequences, but surely hope that I would not have to switch to Vista. I considered moving to Apple, but just can't afford their laptops. Then I read about Linux and Ubuntu. Thing is, I am quiet confused with all this tech jargon. I do not want to be constantly fixing Ubuntu (aside from updating programs and adding some cool features) because frankly, I do not have the time. I hope to learn all there is to know so I can make an informed decision.
My main PC is 5 years old
768 mb of RAM
Pentium 2 processor
60GB hard disk space.
Able to run XP with no problems.
One question, does the Ubuntu software easily get infected with viruses and trojans/malware?
Ashley frm Malaysia
|
|
|
question |
Posted by: wds - 2008-03-18, 10:48 AM - Forum: LAMP
- Replies (1)
|
 |
now i wants get client physical address what cat i do use php
|
|
|
shell script recycle bin |
Posted by: wds - 2008-03-17, 01:10 AM - Forum: Linux
- No Replies
|
 |
Code: #!/bin/bash
#-----------------------------------------------------------------
# filename:
# author: wds
# begin:2008.1.27
# end:2008.2.1
# version: v.2
#-----------------------------------------------------------------
from1=$1
from2=$2
garbage=$HOME/.garbage
mvlog=$garbage/mv.log
if [ ! -e $garbage ]
then
mkdir -p $garbage
chmod 777 $garbage
fi
function rand
{
a=(0 1 2 3 4 5 6 7 8 9 a b c d e A B C D E F )
for ((i=0;i<7;i++));do
echo -n ${a[$RANDOM % ${#a[*]}]}
done
}
random=$(rand)
function rm1
{
if [ -d "$from1" ]
then
echo "rm: cannot remove '$from1/' : Is a directory"
else
echo "`pwd`/:$from1:$random:`date`" >> $mvlog
mv "$from1" "$garbage/$from1:$random"
fi
}
function more
{
for file in *
do
echo "`pwd`/:$file:$random:`date`" >> $mvlog
mv $file "$garbage/$file:$random"
done 2> /dev/null
}
function rmi
{
if [ ! -d "$from2" ]
then
echo -n "rm:remove regular empty file '$from2'?"; read answer;
if [ "$answer" = 'y' -o "$answer" = 'Y' ]
then
echo "`pwd`/:$from2:$random:`date`" >> $mvlog
mv "$from2" "$garbage/$from2:$random"
fi
else
echo "rm: cannot remove directory '$from2': Is a directory"
fi
}
function rmf
{
if [ ! -d "$from2" ]
then
echo "`pwd`/:$from2:$random:`date`" >> $mvlog
mv "$from2" "$garbage/$from2:$random"
else
echo "rm: cannot remove directory '$from2': Is a directory"
fi
}
function rmr
{
if [ -e "$from2" ]
then
result=$(echo $from2 | sed 's/\///g')
echo "`pwd`/:$result:$random:`date`" >> $mvlog
mv "$result" "$garbage/$result:$random"
fi
}
function rml
{
while :
do
clear
line=$(cat -n $mvlog | awk -F : '{print $1,"FileName:"$2, "Time:"$4}')
linecount=$(cat $mvlog | wc -l)
echo -e "$line\c"
echo
echo
echo "Please input number you want revent(line count:$linecount)--exit(e)"
read answer
if [ "$answer" = e -o "$answer" = E ]
then
break
else
(
echo "please input y(sure:)"
read answer1
if [ "$answer1" = y -o "$answer" = Y ]
then
address=$(sed -n "$answer""p" $mvlog | awk -F : '{print $1}')
filename=$(sed -n "$answer""p" $mvlog | awk -F : '{print $2}')
filerand=$(sed -n "$answer""p" $mvlog | awk -F : '{print $3}')
fullname=$address$filename
if [ -e "$fullname" ]
then
echo "The file exist!"
sleep 1
else
old="$garbage/$filename:$filerand"
new="$address$filename"
mv "$old" "$new"
delline=$( cat $mvlog | sed "$answer""d" | sort -o $mvlog)
echo "update ok!!!"
sleep 1
fi
fi
)
fi
done
}
function help
{
echo "
-i) If you wants delete some file , this function is confirm you want,the same as old rm.
-f) If you wants delete some directory ,you can use this function ,the same as old rm.
-r) If you wants delete some directory of file ,this function can use , the same as old rm.
-l) This is new function,is you wants resume some file or directory you can use this function,
first this function can list some file in you garbage , these have some number ,if you
wants resume 1,you can input 1 and then input y to confirm.
If you want add some function or some new idear please contact me...
author:wds
email:7717060@sina.com
"
}
case "$1"
in
[a-z]) :;;
[0-9]) :;;
[A-Z]) :;;
?) more;;
*) :;;
esac
if [ "$#" -eq 0 ]
then
echo -n "rm: missing operand
Try 'rm --help' for more informaction.
"
fi
if [ "$#" -eq 1 ]
then
case "$from1"
in
-i) echo "Try 'rm --help' for more informaction."; break;;
-f) echo "Try 'rm --help' for more informaction."; break;;
-r) echo "Try 'rm --help' for more informaction."; break;;
-l) rml;;
--help) help;;
*) rm1;;
esac
fi
if [ "$#" -eq 2 ]
then
case "$from1"
in
-i) rmi;;
-f) rmf;;
-r) rmr;;
-l) rml;;
-rf) rmr;;
--help) help;;
esac
fi
if [ "$#" -gt 2 ]
then
for file in $*
do
mv $file "$home/"
done 2> /dev/null
fi
|
|
|
hello everyone |
Posted by: wds - 2008-03-17, 12:50 AM - Forum: Hello
- Replies (3)
|
 |
hello everyone i come from china my english is not very well ,but i like open source and technology
now i can use shell programming , php, my system is linux , i so glad to join this group,
and i hope very one can me ,and then i can help everyone
|
|
|
Linux Folder Permissions for /var/lib/php/session |
Posted by: abhishek77 - 2008-03-16, 01:06 AM - Forum: How Do I?
- Replies (1)
|
 |
I am trying to change folder permission and i wondering if i am doing it right.
The first thing i do is updatedb followed by cd /var/lib/php/session
I then want to change permissions to this session folder.
I type in chmod + rwx \session or chmod 777 \session
could anyone correct me?
|
|
|
Linksys WMP300N PCI [Fedora 8] |
Posted by: KellyCraig - 2008-03-15, 03:26 PM - Forum: Wireless
- No Replies
|
 |
Hello.
I read through this thread ( https://www.linux-noob.com/forums/index.php?showtopic=3277 ) trying to get my 300n card working in Fedora 8 using NDISWRAPPER but fell short and can't tell why.
Here are the steps I did in order and with as much detail as possible, but in the end I had no results.
Ideas?
So I installed NDISWRAPPER v.1.5.2
I downloaded the .inf files from linksys for the 300n and unpacked then in my home directory.
One thing that seperated my system from the pointed thread above where I got my howto from, my lsusb gave no real hint it saw the Linksys device.
Code: [root@localhost /]# lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 430 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:09.0 Network controller: Broadcom Corporation BCM43XG (rev 01)
[root@localhost /]#
Best guess is that according to sites found via Googling that the US version of the card uses Broadcom chipsets, not Atheros, so possible the last device listed is the 300n.
Here is a paste from the terminal of the install, and after I see no wlan0, if I go to Netowrk config in KDE, it does nto show new hardware.
I am confused.
Code: [root@localhost XP_2K]# ls -la
total 916
drwxr-xr-x 2 root root 4096 2007-11-15 15:25 .
drwxr-xr-x 4 root root 4096 2007-11-15 15:25 ..
-rw-r--r-- 1 root root 11266 2007-10-18 14:57 bcm43xx.cat
-rw-r--r-- 1 root root 84196 2007-10-17 22:28 bcmwl5.inf
-rw-r--r-- 1 root root 822400 2007-10-17 22:17 bcmwl5.sys
[root@localhost XP_2K]# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
couldn't find "BCMWL564.SYS" in "."; make sure all driver files, including .inf, .sys (and any firmware files) are in "." -
installation may be incomplete
[root@localhost XP_2K]# ndiswrapper -r bcmwl5
[root@localhost XP_2K]# cp bcmwl5.sys BCMWL564.SYS
[root@localhost XP_2K]# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
[root@localhost XP_2K]# ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4329) present (alternate driver: ssb)
[root@localhost XP_2K]# lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 430 (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:09.0 Network controller: Broadcom Corporation BCM43XG (rev 01)
[root@localhost XP_2K]# lspci -n
00:00.0 0500: 10de:03ea (rev a1)
00:01.0 0601: 10de:03e0 (rev a2)
00:01.1 0c05: 10de:03eb (rev a2)
00:01.2 0500: 10de:03f5 (rev a2)
00:02.0 0c03: 10de:03f1 (rev a3)
00:02.1 0c03: 10de:03f2 (rev a3)
00:04.0 0604: 10de:03f3 (rev a1)
00:05.0 0403: 10de:03f0 (rev a2)
00:06.0 0101: 10de:03ec (rev a2)
00:07.0 0680: 10de:03ef (rev a2)
00:08.0 0101: 10de:03f6 (rev a2)
00:09.0 0604: 10de:03e8 (rev a2)
00:0b.0 0604: 10de:03e9 (rev a2)
00:0d.0 0300: 10de:03d0 (rev a2)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:09.0 0280: 14e4:4329 (rev 01)
[root@localhost XP_2K]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1B:FC:9B:73:B0
inet addr:192.168.0.109 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21b:fcff:fe9b:73b0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28985 errors:0 dropped:0 overruns:0 frame:0
TX packets:17898 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32253358 (30.7 MiB) TX bytes:1751763 (1.6 MiB)
Interrupt:253 Base address:0x4000
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:7347 errors:0 dropped:0 overruns:0 frame:0
TX packets:7347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2478212 (2.3 MiB) TX bytes:2478212 (2.3 MiB)
virbr0 Link encap:Ethernet HWaddr F6:DC:EA:0D:C6:8D
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::f4dc:eaff:fe0d:c68d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:4752 (4.6 KiB)
[root@localhost XP_2K]#
Any help would be appriciated...
|
|
|
Red Hat Enterprise Linux 5.2 Beta Available |
Posted by: anyweb - 2008-03-12, 07:51 PM - Forum: Linux News
- No Replies
|
 |
Sure Red Hat Enterprise Linux 5 is a stable distribution, but that doesn't mean that it doesn't change and improve - even inside of release cycles. Case in point is Red Hat Enterprise Linux 5.2 now available as a Beta. The 5.2 release is the second incremental release since RHEL 5 was released in March of 2007 (RHEL 5.1 Beta appeared in August of 2007). With the 5.2 release Red Hat is adding virtualization enhancements including the ability to handle a 64 CPU system. Additionally the critical 'libvirt' technology which helps to manage the virtualization instances now gets remote management support.
via osnews.com
|
|
|
GCC 4.3.0 Released |
Posted by: anyweb - 2008-03-12, 07:49 PM - Forum: Linux News
- Replies (1)
|
 |
The GNU project has released version 4.3.0 of the GNU Compiler Collection. "The GNU project and the GCC developers are pleased to announce the release of GCC 4.3.0. This release is a major release, containing new features (as well as many other improvements) relative to GCC 4.2.x."
via osnews.com
|
|
|
|