Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,207
» Latest member: Meup
» Forum threads: 4,029
» Forum posts: 16,404
Full Statistics
|
Online Users |
There are currently 162 online users. » 0 Member(s) | 159 Guest(s) Bing, DuckDuckGo, Google
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 55
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 73,467
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 30,153
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,636
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,039
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 40,603
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 103,110
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 43,890
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 34,392
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 40,096
|
|
|
Simple ways to add an delete network printers |
Posted by: Digerati - 2003-12-18, 09:40 PM - Forum: Tips and Tricks
- No Replies
|
 |
Adds a printer connection to a network printer. Script must be run on the local computer.
Copy and paste in notepad and save as {filename}.vbs
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300"
WshNetwork.SetDefaultPrinter "\\PrintServer1\Xerox300"
Removes a printer connection to a network printer. Script must be run on the local computer.
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.RemovePrinterConnection "\\PrintServer1\Xerox300"
You can add these in batch scripting or logon scripting to aid in the adding and removal of printers.
add printer
rundll32 printui.dll,PrintUIEntry /in /n \\server1\1220C
delete printer
rundll32 printui.dll,PrintUIEntry /dn /n \\server1\PRT4
Example of login script that mapps drives and adds a printer:
net use * /delete /y
net use H: \\server1\%username%$ /PERSISTENT:NO
net use S: \\server1\shared /PERSISTENT:NO
rundll32 printui.dll,PrintUIEntry /in /n \\server1\1220C
|
|
|
Deleting all Scheduled tasks on your lan |
Posted by: Digerati - 2003-12-18, 09:39 PM - Forum: Tips and Tricks
- No Replies
|
 |
You may wish at some point to delete a scheduled task from all your users machines, but getting up and going to each machine can get tiresome and thats often unnessecary.
I made a batch file to do it all without me having to leave my chair.
[REMOVEAT.BAT]
AT \\computer /delete /Y
Just repeat that over and over for each pc and you got it wooped.
That deletes ALL jobs. If you know the job ID of certain jobs just use:
AT \\computer 1 /delete /Y
Where "1" is the ID number of the job.
|
|
|
Automating the defrag process |
Posted by: Digerati - 2003-12-18, 09:38 PM - Forum: Tips and Tricks
- No Replies
|
 |
Today I decided to use that defrag.vbs in my last tip to defrag the computers on my lan at the stroke of midnight each month.
Here is how to do it using simple batch scripting. There could be a simpler way but I just put this together and copy and pasted a few lines and boom I was done and never had to leave my seat.
[ADDDEFRAG.BAT]
mkdir \\computer\c$\scripts
copy C:\apps\scripts\defrag.vbs \\computer\c$\scripts\
AT \\computer 00:00 /INTERACTIVE /EVERY:1 c:\scripts\defrag.vbs
The first line makes a directory on the users computer called scripts.
The next line copies the defrag.vbs from my computer to the users newly created script folder.
The last line makes use of the AT command to schedule the defrag to run at midnight monthly.
In the batch file I just copied the 3 lines over and over until I had added all the computers I needed and edited the lines. Then I sat and executed it with a smile, watching it do all the work.
|
|
|
Defrag your Windows 2000 partitions |
Posted by: Digerati - 2003-12-18, 09:37 PM - Forum: Tips and Tricks
- No Replies
|
 |
The official word from MS on scheduling a defrag is "Nope." They say you must purchase 3rd party utilities to be able to schedule defragging.
However, I had the same problem in the past and came across a VBScript that would take care of the problem. It basically just runs the defrag MMC and uses send keys command to automate the process. It then sits in a loop until it sees that the defrag is complete and shuts it down. The code is below, just copy and paste it to notepad then save the file as defrag.vbs and then use task scheduler to schedule it.
<-- start copy below this line -->
set WshShell = CreateObject("WScript.Shell")
WshShell.Run "dfrg.msc"
WScript.Sleep 1000
While WshShell.AppActivate("Disk Defragmenter") = FALSE
WScript.Sleep 1000
Wend
WshShell.AppActivate "Disk Defragmenter"
WScript.Sleep 200
WshShell.SendKeys "%A"
WScript.Sleep 200
WshShell.SendKeys "D"
While WshShell.AppActivate("Defragmentation Complete") = FALSE
WScript.Sleep 5000
Wend
WshShell.AppActivate "Defragmentation Complete"
WScript.Sleep 200
WshShell.Sendkeys "{TAB}"
Wscript.Sleep 500
WshShell.Sendkeys "{ENTER}"
Wscript.Sleep 500
WshShell.Sendkeys "%{F4}"
<-- end copy -->
|
|
|
more than two desktop? |
Posted by: Oroshi - 2003-12-18, 08:59 PM - Forum: How Do I?
- Replies (9)
|
 |
howdy, just wondering, i already installed the GNOME, KDE. so it possible add the Fluxbox and XFCE?
if yes. then how to choose those desktop from the sesion menu?
|
|
|
Hee larry Us |
Posted by: Digerati - 2003-12-18, 07:24 PM - Forum: General Chat
- No Replies
|
 |
[/url][url=http://starterupsteve.servepics.com/swf/gollum.html]http://starterupsteve.servepics.com/swf/gollum.html
|
|
|
Configuring Kppp to connect to the Internet |
Posted by: Digerati - 2003-12-18, 04:54 PM - Forum: Tips and Tricks
- No Replies
|
 |
A lot of people thanked God (as well as the guys behind KDE) when kppp came to the scene. The entire process of connecting to the Internet using a dial up connection was simplified to a very great extent. I shall show you how to configure kppp to connect to the Internet (connect to your ISP).
Setup :
ISP Name : powersurfer.net
ISP telephone No. : 172355
My username & password : 'namexxx' and 'passxxx'
Procedure :
1. Run Kppp from the K menu or by typing kppp at a shell prompt. You will get a window with a Connect To field along with Login and Password fields. There is also a Setup button. Click on this button and you will get a new
Configuration window.
This new window has many tabs.. like Account, Device, Modem...
2. On the 1st tab Accounts , click on New and select Dialog Setup. In the new window that appears titled New Account, type a name for your connection such as Power Surfing.
Add the New Telephone No :172355.
In the Authentication tab see that PAP is selected (My ISP uses PAP.. check with yours..)
In the IP tab & Gateway tab , no changes are required.
In the DNS tab enter the name of your ISP such as powersurfer.net in the Domain Name field
The Login Script, Accounting and Execute tabs require no changes.
3. Now back to the kppp Configuration window on the 2nd tab, Device select /dev/ttyS1 if your modem is connected to the COM 2 as mine is. If you are not sure check Article No 4 on this site..
Flowcontrol and Line Termination require no changes.
Select the connection speed. Mine is 57600 since I have a 56k mode external modem.
Do not check the Lock File and select a lengthy Modem Timeout.. 99 seconds.. since some ISPs require more time to get connected.
4. In the 3rd tab Modem, change the modem volume as required. If you want to check your modem you can click on the Query Modem button and it should return a lot of results, if your modem is found and is working properly. This is very good way to figure out if kppp has detected your modem and can communicate with it or not.
5. The Graph tab requires no changes.
6. In the Miscellaneous tab, increase the pppd timeout to 60 seconds ..so as to allow maximum time in case of any problems. Also check Minimize Window on Connect to mimic the Windows default behaviour of the Connect Dialog Box. Show Clock should also be checked since it shows the total time elapsed since you connected to the Internet
Thats all the configuration that needs to be done..
Click on Ok button and you will come back to the original window. In this select Power Surfing in the Connect To field. Enter your Login ID and Password (namexxx and passxxx in my case). If you want to see what happens as you connect you can check the Show Log Window.. but that is not required as such.
Finally click on Connect button. kppp shall dial and connect to your ISP.
Once the connection has been established this window shall minimize and you can open your browser and start browsing.. The above instructions let you connect to the Internet as the superuser. In case you want to connect as a normal user then read the Note below.
Note : What is explained above is applicable to the superuser. For normal users there is a different method to setup Internet access. In case u have a standalone machine at your home where you are both the superuser as well as the normal user, there is a very simple way to get your user account to access the Internet. Login as the normal user and then open a shell window. Type 'su' at the prompt . It shall ask your for the superuser password. Enter the password and you shall be granted superuser rights. Run kppp at the prompt. In case it gives you an error about SetUID for kppp then you will have to log in as root and check the SetUID checkbox for kppp file using Konqueror or some other File Manager. This has to be done only once. Log out and login as the normal user run kppp. This time there will be no error and you can connect to the internet. You will be able to browse the net. Once u disconnect then leave the super user (within the shell window that had opened) mode by typing 'exit' in the shell window. Thats all.. Its a work around method but it does no harm since you are the only user on your machine. The actual method involves creating a group and making that particular user a member of that group and allowing that group access rights to the Internet.
|
|
|
damn i'm stupid |
Posted by: Oroshi - 2003-12-18, 04:02 PM - Forum: Fedora
- Replies (3)
|
 |
I was supposed to parition for testing the longhorn but actually, it format then all! lost my fedora :( so now i'm format my spare PC and installing Fedora again! o_O
Oh well, thats a life.
|
|
|
funny pics |
Posted by: Digerati - 2003-12-18, 03:14 PM - Forum: General Chat
- Replies (5)
|
 |
my freind edited some pics and uploaded, check em out
[/url][url=http://www.thebatchfile.com/photos/thumbnails.php?album=24]http://www.thebatchfile.com/photos/thumbnails.php?album=24
|
|
|
|