Question about Canonical Ltd. Ubuntu

1 Answer

Using tata indicom usb modem in Ubuntu

When I configure the usb modem by wvdial command its configuration file is created and I modified the configuration file with every kind of stuff I got from internet but still it is not able to connect with usb modem, its giving 'canno open serial port.'

Posted by on

  • esaki Feb 09, 2009

    it says that password or user name might be wrong but config is correct



  • ajinkya painginkar
    ajinkya painginkar May 11, 2010

    tell me wat is d problm?

×

Ad

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 126 Answers

Linux connectn
1st log in the root user
connect the usb modem
run terminal in linux
type following command
wvdialconf /etc/wvdial.conf

wvdialconf will detect the modem

nano /etc/wvdial,conf
jus replace dis wid defaulf setting
modem-/dev/ttyusb0
baud=115200
dial command=atdt
baud=115200
dial command=atdt
init1=atz
init 2=at+crm=1
flow control=hardware
username=internet
password=internet
phone=#777
stupid mode=1

aftr dis open terminal type wvdial &press enter

if u want to disconnect den press clt +c


Posted on Dec 12, 2008

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya Technician can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repair professionals here in the US.
click here to Talk to a Technician (only for users in the US for now) and get all the help you need.
Goodluck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

Tip

Useful Run Command Shortcuts


Hi All,


I know there are a lot of people who love using the run prompt or the
command prompt rather than using the mmc control...

So here are some quick tips that you can use ... Enjoy...

List big, but still i hope it is useful!!



* Accessibility Controls : access.cpl
* Add Hardware Wizard : hdwwiz.cpl
* Add/Remove Programs : appwiz.cpl
* Administrative Tools : control admintools
* Automatic Updates : wuaucpl.cpl
* Bluetooth Transfer Wizard : fsquirt
* Calculator : calc
* Certificate Manager : certmgr.msc
* Character Map : charmap
* Check Disk Utility : chkdsk 
* Clipboard Viewer : clipbrd
* Command Prompt : cmd
* Component Services : dcomcnfg
* Computer Management : compmgmt.msc
* Date and Time Properties : timedate.cpl
* DDE Shares : ddeshare
* Device Manager : devmgmt.msc
* Direct X Control Panel (If Installed)* : directx.cpl
* Direct X Troubleshooter : dxdiag
* Disk Cleanup Utility : cleanmgr
* Disk Defragment : dfrg.msc
* Disk Management : diskmgmt.msc
* Disk Partition Manager : diskpart
* Display Properties : control desktop 
* Display Properties : desk.cpl
* Display Properties (w/Appearance Tab Preselected) : control color
* Dr. Watson System Troubleshooting Utility : drwtsn32
* Driver Verifier Utility : verifier 
* Event Viewer : eventvwr.msc
* File Signature Verification Tool : sigverif
* Findfast : findfast.cpl
* Folders Properties : control folders
* Fonts : control fonts 
* Fonts Folder : fonts
* Free Cell Card Game : freecell
* Game Controllers : joy.cpl
* Group Policy Editor (XP Prof) : gpedit.msc
* Hearts Card Game : mshearts 
* Iexpress Wizard : iexpress
* Indexing Service : ciadv.msc
* Internet Properties : inetcpl.cpl
* IP Configuration (Display Connection Configuration) : ipconfig 
/all
* IP Configuration (Display DNS Cache Contents) : ipconfig
/displaydns
* IP Configuration (Delete DNS Cache Contents) : ipconfig /flushdns
* IP Configuration (Release All Connections) : ipconfig /release 
* IP Configuration (Renew All Connections) : ipconfig /renew
* IP Configuration (Refreshes DHCP & Re-Registers DNS) : ipconfig
/registerdns
* IP Configuration (Display DHCP Class ID) : ipconfig /showclassid 
* IP Configuration (Modifies DHCP Class ID) : ipconfig /setclassid
* Java Control Panel (If Installed) : jpicpl32.cpl
* Java Control Panel (If Installed) : javaws
* Keyboard Properties : control keyboard 
* Local Security Settings : secpol.msc
* Local Users and Groups : lusrmgr.msc
* Logs You Out Of Windows : logoff
* Microsoft Chat : winchat
* Minesweeper Game : winmine 
* Mouse Properties : control mouse
* Mouse Properties : main.cpl
* Network Connections : control netconnections
* Network Connections : ncpa.cpl
* Network Setup Wizard : netsetup.cpl
* Notepad : notepad
* Nview Desktop Manager (If Installed) : nvtuicpl.cpl
* Object Packager : packager
* ODBC Data Source Administrator : odbccp32.cpl 
* On Screen Keyboard : osk
* Opens AC3 Filter (If Installed) : ac3filter.cpl
* Password Properties : password.cpl
* Performance Monitor : perfmon.msc
* Performance Monitor : perfmon 
* Phone and Modem Options : telephon.cpl
* Power Configuration : powercfg.cpl
* Printers and Faxes : control printers
* Printers Folder : printers
* Private Character Editor : eudcedit 
* Quicktime (If Installed) : QuickTime.cpl
* Regional Settings : intl.cpl
* Registry Editor : regedit
* Registry Editor : regedit32
* Remote Desktop : mstsc 
* Removable Storage : ntmsmgr.msc
* Removable Storage Operator Requests : ntmsoprq.msc
* Resultant Set of Policy (XP Prof) : rsop.msc
* Scanners and Cameras : sticpl.cpl 
* Scheduled Tasks : control schedtasks
* Security Center : wscui.cpl
* Services : services.msc
* Shared Folders : fsmgmt.msc
* Shuts Down Windows : shutdown 
* Sounds and Audio : mmsys.cpl
* Spider Solitare Card Game : spider
* SQL Client Configuration : cliconfg
* System Configuration Editor : sysedit
* System Configuration Utility : msconfig 
* System File Checker Utility (Scan Immediately) : sfc /scannow
* System File Checker Utility (Scan Once At Next Boot) : sfc
/scanonce
* System File Checker Utility (Scan On Every Boot) : sfc /scanboot 
* System File Checker Utility (Return to Default Setting) : sfc
/revert
* System File Checker Utility (Purge File Cache) : sfc /purgecache
* System File Checker Utility (Set Cache Size to size x) : sfc 
/cachesize=x
* System Properties : sysdm.cpl
* Task Manager : taskmgr
* Telnet Client : telnet
* User Account Management : nusrmgr.cpl
* Utility Manager : utilman 
* Windows Firewall : firewall.cpl
* Windows Magnifier : magnify
* Windows Management Infrastructure : wmimgmt.msc
* Windows System Security Tool : syskey
* Windows Update Launches : wupdmgr
* Windows XP Tour Wizard : tourstart
* Wordpad : write 


on May 19, 2010 | Computers & Internet

Tip

Some of the important cmd prompt commands


Copy and keep it handy..


ADDUSERS --Add or list users to/from a CSV file
ARP -- Address Resolution Protocol
ASSOC -- Change file extension associations
ASSOCIAT --One step file association
AT -- Schedule a command to run at a later time
ATTRIB --Change file attributes

BOOTCFG --Edit Windows boot settings
BROWSTAT --Get domain, browser and PDC info

CACLS -- Change file permissions
CALL --Call one batch program from another
CD --Change Directory - move to a specific Folder
CHANGE-- Change Terminal Server Session properties
CHKDSK -- Check Disk - check and repair disk problems
CHKNTFS -- Check the NTFS file system
CHOICE --Accept keyboard input to a batch file
CIPHER --Encrypt or Decrypt files/folders
CleanMgr ---Automated cleanup of Temp files, recycle bin
CLEARMEM ---Clear memory leaks
CLIP ---Copy STDIN to the Windows clipboard.
CLS ---Clear the screen
CLUSTER ---Windows Clustering
CMD ---Start a new CMD shell
COLOR --- Change colors of the CMD window
COMP ---Compare the contents of two files or sets of files
COMPACT --- Compress files or folders on an NTFS partition
COMPRESS ---Compress individual files on an NTFS partition
CON2PRT ---Connect or disconnect a Printer
CONVERT ---Convert a FAT drive to NTFS.
COPY ---Copy one or more files to another location
CSCcmd ---Client-side caching (Offline Files)
CSVDE ---Import or Export Active Directory data

DATE --- Display or set the date
Dcomcnfg DCOM ---Configuration Utility
DEFRAG ---Defragment hard drive
DEL ---Delete one or more files
DELPROF--- Delete NT user profiles
DELTREE ---Delete a folder and all subfolders
DevCon ---Device Manager Command Line Utility
DIR ---Display a list of files and folders
DIRUSE --- Display disk usage
DISKCOMP--- Compare the contents of two floppy disks
DISKCOPY ---Copy the contents of one floppy disk to another
DNSSTAT ---DNS Statistics
DOSKEY --- Edit command line, recall commands, and create macros
DSADD ---Add user (computer, group..) to active directory
DSQUERY--- List items in active directory
DSMOD ---Modify user (computer, group..) in active directory

ECHO--- Display message on screen
ENDLOCAL--- End localisation of environment changes in a batch file
ERASE ---Delete one or more files
EXIT ---Quit the current script/routine and set an errorlevel.
EXPAND --- Uncompress files
EXTRACT--- Uncompress CAB files

FC--- Compare two files
FDISK--- Disk Format and partition
FIND ---Search for a text string in a file
FINDSTR--- Search for strings in files
FOR /F ---Loop command: against a set of files
FOR /F ---Loop command: against the results of another command
FOR ---Loop command: all options Files, Directory, List
FORFILES ---Batch process multiple files
FORMAT ---Format a disk
FREEDISK ---Check free disk space (in bytes)
FSUTIL --- File and Volume utilities
FTP --- File Transfer Protocol
FTYPE--- Display or modify file types used in file extension associations

GLOBAL --- Display membership of global groups
GOTO ---Direct a batch program to jump to a labelled line

HELP--- Online Help
HFNETCHK--- Network Security Hotfix Checker

IF--- Conditionally perform a command
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP

KILL Remove a program from memory

LABEL --- Edit a disk label
LOCAL --- Display membership of local groups
LOGEVENT--- Write text to the NT event viewer.
LOGOFF --- Log a user off
LOGTIME --- Log the date and time in a file

MAPISEND ---Send email from the command line
MEM --- Display memory usage
MD --- Create new folders
MKLINK --- Create a symbolic link (linkd)
MODE ---Configure a system device
MORE --- Display output, one screen at a time
MOUNTVOL ----Manage a volume mount point
MOVE --- Move files from one folder to another
MOVEUSER--- Move a user from one domain to another
MSG ---Send a message
MSIEXEC --- Microsoft Windows Installer
MSINFO ---Windows NT diagnostics
MSTSC --- Terminal Server Connection (Remote Desktop Protocol)
MUNGE --- Find and Replace text within file(s)
MV --- Copy in-use files

NET --- Manage network resources
NETDOM --- Domain Manager
NETSH ---Configure network protocols
NETSVC ---Command-line Service Controller
NBTSTAT --- Display networking statistics (NetBIOS over TCP/IP)
NETSTAT --- Display networking statistics (TCP/IP)
NOW --- Display the current Date and Time
NSLOOKUP--- Name server lookup
NTBACKUP ---Backup folders to tape
NTRIGHTS E---dit user account rights

PATH --- Display or set a search path for executable files
PATHPING ---Trace route plus network latency and packet loss
PAUSE --- Suspend processing of a batch file and display a message
PERMS --- Show permissions for a user
PERFMON ---Performance Monitor
PING ---Test a network connection
POPD --- Restore the previous value of the current directory saved by PUSHD
PORTQRY--- Display the status of ports and services
PRINT --- Print a text file
PRNCNFG --- Display, configure or rename a printer
PRNMNGR --- Add, delete, list printers set the default printer
PROMPT --- Change the command prompt
PsExec --- Execute process remotely
PsFile --- Show files opened remotely
PsGetSid --- Display the SID of a computer or a user
PsInfo ---List information about a system
PsKill --- Kill processes by name or process ID
PsList --- List detailed information about processes
PsLoggedOn ---Who's logged on (locally or via resource sharing)
PsLogList ---Event log records
PsPasswd --- Change account password
PsService --- View and control services
PsShutdown ---Shutdown or reboot a computer
PsSuspend ---Suspend processes
PUSHD --- Save and then change the current directory

QGREP --- Search file(s) for lines that match a given pattern.

RASDIAL ---Manage RAS connections
RASPHONE ---Manage RAS connections
RECOVER --- Recover a damaged file from a defective disk.
REG --- Registry: Read, Set, Export, Delete keys and values
REGEDIT --- Import or export registry settings
REGSVR32--- Register or unregister a DLL
REGINI ---Change Registry Permissions
REM --- Record comments (remarks) in a batch file
REN --- Rename a file or files.
REPLACE --- Replace or update one file with another
RD ---Delete folder(s) [remove dir]
RDISK ---Create a Recovery Disk
RMTSHARE ---Share a folder or a printer
ROBOCOPY--- Robust File and Folder Copy
ROUTE --- Manipulate network routing tables
RUNAS --- Execute a program under a different user account
RUNDLL32--- Run a DLL command (add/remove print connections)

SC --- Service Control
SCHTASKS--- Create or Edit Scheduled Tasks
SCLIST --- Display NT Services
ScriptIt Control ---GUI applications
SET --- Display, set, or remove environment variables
SETLOCAL--- Control the visibility of environment variables
SETX ---Set environment variables permanently
SHARE --- List or edit a file share or print share
SHIFT --- Shift the position of replaceable parameters in a batch file
SHORTCUT ---Create a windows shortcut (.LNK file)
SHOWGRPS ---List the NT Workgroups a user has joined
SHOWMBRS ---List the Users who are members of a Workgroup
SHUTDOWN ---Shutdown the computer
SLEEP --- Wait for x seconds
SOON --- Schedule a command to run in the near future
SORT --- Sort input
START --- Start a separate window to run a specified program or command
SU ---Switch User
SUBINACL ---Edit file and folder Permissions, Ownership and Domain
SUBST --- Associate a path with a drive letter
SYSTEMINFO--- List system configuration
TASKLIST--- List running applications and services
TIME ---Display or set the system time
TIMEOUT--- Delay processing of a batch file
TITLE --- Set the window title for a CMD.EXE session
TOUCH --- Change file timestamps
TRACERT --- Trace route to a remote host
TREE --- Graphical display of folder structure
TYPE --- Display the contents of a text file
USRSTAT--- List domain usernames and last login
VER ---Display version information
VERIFY --- Verify that files have been saved
VOL --- Display a disk label
WHERE --- Locate and display files in a directory tree
WHOAMI --- Output the current UserName and domain
WINDIFF --- Compare the contents of two files or sets of files
WINMSD --- Windows system diagnostics
WINMSDP--- Windows system diagnostics II
WMIC ---WMI Commands
XCACLS --- Change file permissions
XCOPY--- Copy files and folders

on Dec 16, 2009 | Computers & Internet

1 Answer

What is the default password for cisco


There are two main methods to return a Cisco router to its original factory defaults. These two methods are described below.
Method 1
1. uses the config-register 0x2102 command in global configuration mode.
2. Check the configuration register on the router by issuing the show version command.
3. The configuration register setting is displayed in the last line of the show version command output and should be set to 0x2102. If this is not the case, enter the config-register 0x2102 command once in global configuration mode.
router#configure terminal
router(config)#config-register 0x2102
router(config)#end
router#
4. If the show version command is issued again, the same line in the command output will have '(will be 0x2102 at next reload)' appended to the current register setting.
5. Erase the current start-up configuration on the router with the write erase command.
Reload the router with the reload command. When prompted to save the configuration, DO NOT save.
router#reload
System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]
Once the router reloads, the System Configuration Dialog appears.
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:
The router is now reset to the original factory defaults.
Method 2
1. uses the config-register 0x2142 command in global configuration mode.
2. Enter the config-register 0x2142 command in global configuration mode.
router(config)#config-register 0x2142
This causes the router to ignore the start-up configuration on the next reload. If a show version is issued, the last line in the command output will have '(will be 0x2142 at next reload)' appended to the current configuration register setting.
3. Reload the router using the reload command in enable mode. It is not necessary to save when prompted to save the system configuration.
router#reload
System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]
After the router has reloaded, the System Configuration Dialog appears.
4. Enter no to the question "Would you like to enter initial configuration dialog?"
5. Change the configuration register setting to 0x2102 by entering the config-register 0x2102 command once in global configuration mode.
6. Issue the write memory command in enable mode to overwrite the existing start-up configuration with the current running configuration.
7. Reload the router with the reload command in enable mode.
Once the router reloads, the System configuration Dialog appears.
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:
The router is now reset to the original factory defaults.
Note: The configurations below are stored in ROMMON, and cannot be reset to Factory Default Settings by the write erase or config-register 0x2142 commands.
warm-reboot
memory-size iomem <not default>

Jun 18, 2013 | Computers & Internet

1 Answer

My samsung mobile is 'GT C3050C'. I install it pc studio, but I cannot use it by modem, I live in Bangladesh, I wanna to know it configuration,



2. Connect Your Samsung with a working Internet connection ( via )USB Cable
3. Samsung PC Studio or any other Samsung mobile drivers are not installed

Procedure

1. Connect your Samsung Star 3G to your PC and install the modem drivers that you have downloaded.

2. Goto Control Panel > Phone and Modem Options


3. Select the Modems tab. You will see Samsung mobile modem listed.

4. Select it and click on Properties.

5. Goto the Advanced tab and put the following in the box for Extra Initialization Commands:

+cgdcont=1,"IP","your_apn_name"
( or tye AT+CGDCONT=1, "IP', "apnname")
eg:- +cgdcont=1, "IP", "bsnlnet"


6. Hit OK and exit.

The next step is to create a dialler for your Samsung Star 3G mobile modem.

Error 619 solved

1. To create a dialler, Goto Control Panel>Network Connections

2. Hit Create a New Connection and proceed as follows (each sub-point is for each screen of the wizard):

2.1 Network Connection Type: Connect to the Internet
2.2 How do you want to connect to the Internet: Set up my connection manually
2.3 Select Connect using a dial-up modem
2.4 Select Modem-Samsung Mobile Modem
2.5 Type an ISP name according to your preference (could be anything)
2.6 Type*99# as the phone number ( or type *99*1*1# or *99***1# )
2.7 Leave Username, Password and Confirm Password fields blank
2.8 Hit Finish

That would complete the wizard and make a dial-up connection for you. Dial it and you will be connected to the Internet via your Samsung Star 3G phone modem without using Samsung PC Studio.

Nov 21, 2010 | Samsung Modem Configuration Software...

1 Answer

How to configure Tata Photon Plus with Red Hat Linux 3


linux connectn
1st log in the root user
connect the usb modem
run terminal in linux
type following command
wvdialconf /etc/wvdial.conf

wvdialconf will detect the modem

nano /etc/wvdial,conf
jus replace dis wid defaulf setting
modem-/dev/ttyusb0
baud=115200
dial command=atdt
baud=115200
dial command=atdt
init1=atz
init 2=at+crm=1
flow control=hardware
username=internet
password=internet
phone=#777
stupid mode=1

aftr dis open terminal type wvdial &press enter

if u want to disconnect den press clt +c



kindly revert if u need any help

if ur using tata photon + then plz check properly der is a inbuilt software in photon modem if u cant find den follow dat above method

Feb 05, 2010 | Red Hat Enterprise Linux ES 3 Standard...

1 Answer

Has anybody configured Reliance Datacard - USB on ubuntu 9.04? Kindly give me step by step procedure for configuration? Regards, Moiz


Hi,

First use the following command to see if your card is being detected by kernel.

cat /proc/bus/usb/devices

Then you can use the following script for the installation, you can check if this is for your version of Ubuntu.

#!/bin/bash

#This program automates task of setting up connection for Reliance USB Card on Ubuntu Hardy Heron. This program does not come with any warranty whatsoever. Please use it at your own risk.

# Detect Modem
echo "Modem Detected: $(lsusb | grep -i huawei | cut -d" " -f7-)"

# Get Connection Number from User
echo "Enter Your Reliance Data Card Connection Number : "
read connection
echo "Setting up connection with $connection"

#Install Gnome PPP Package
echo "Installing Required Packages.."
sudo apt-get install -y -q gnome-ppp wvdial

#Add entries to /etc/ppp/ppp-secrets and /etc/ppp/chap-secrets
echo "I:Modifying necessary system files to allow dialing with Gnome PPP..."
sudo chmod 666 /etc/ppp/pap-secrets /etc/ppp/chap-secrets
echo "$connection * $connection" >> /etc/ppp/pap-secrets
echo "$connection * $connection" >> /etc/ppp/chap-secrets
sudo chmod 600 /etc/ppp/pap-secrets/etc/ppp/chap-secrets

#Start Gnome PPP
echo "We are all set.... "
echo "Starting Dialer..."
gnome-ppp &
exit 0

Dec 10, 2009 | Computers & Internet

1 Answer

I want the driver for huawei fwt wireless modem


I'm giving you two links to download the drivers for Huawei fwt wireless mode

1- http://www.openpages.info/huawei.html and

2- https://answers.launchpad.net/ubuntu/+source/wvdial/+question/43266

You will probably need to edit the wvdial.conf file a little so that you are using the right connection parameters for your internet service.
If those URL's did not help, please follow this procedure:
Step 1: Open Terminal from "Applications->Accessories->
Terminal"
Step 2: Run the following commands (copy-paste each line below to the Terminal then hit <enter> after each line)
ifconfig
sudo lshw -C network
lspci -nn
lsusb
uname -a
dmesg | grep USB
Step 3: Post results (cut/paste terminal output from each command) here
Step 4: Provide us with the full model and make of Huawei modem. What is the exact model number? Does it connect to the PC using a serial-to-USB converter?

Apr 19, 2009 | Computers & Internet

1 Answer

Cant connect laptop to cable modem


OK based on the IP address you've given me I can tell that your network card is not getting an IP from the cable modem. The IP you have there is automatically assigned by windows in the absence of a proper DHCP server.

You have 2 options now you can try to manually assign the IP address and connect to the modem or if u have the CD that came with it you can connect to it using a USB connection (most modems have a usb port) and configure the modem manually to give you an IP or at least see what address range it is using and configure your PC to suit.

If you don't have the CD and USB and you want to manually assign an IP address to your PC most modems tend to use 1 of 3 address, you can try either:
192.168.1.1
192.168.0.1
10.0.0.1
to connect to the modem (if you use a ping command from the command prompt with any of the above addresses the one that replies is the ip of ur modem)

and manually configure your PC network card with either
192.168.1.25
192.168.1.25
10.0.0.25

Its a little technical i know but you should be able to do it
Hope this helps you.

If this doesn't work we can try a "tracert" command next to see if we can determine the modem IP

Apr 15, 2009 | Acer Aspire 5610 Notebook

1 Answer

How do i reboot windows vista. i knwo theres a way to do it not from the CD and it returns it to how u go it out of the box. please let me know thanks


If you are using MS-DOS 6.0 or later, you can use multiple configuration menus or the CHOICE.COM program to configure your system. For more information on using these options under MS-DOS 6.0 or later, type HELP MULTI-CONFIG or HELP CHOICE at the MS-DOS command prompt and then press ENTER. To create the files to automatically restart your computer with the appropriate configuration, do the following:

Create a directory on your hard drive called C:\CONFIGS. Create the CONFIG.SYS and AUTOEXEC.BAT files you need to boot your system for HIMEM.SYS and applications that require it, with the following names: c:\configs\config.dos c:\configs\autoexec.dos Create the CONFIG.SYS and AUTOEXEC.BAT files you need to start your system for the program that conflicts with HIMEM.SYS. Any unique file extension can be used. The following example uses 386: c:\configs\config.386 c:\configs\autoexec.386 The following DEBUG script can be used to create a small executable file called REBOOT.COM. This file, when executed, will cause your system to restart. To create the file, change to the DOS directory, and type the following: debug reboot.comEnter the following information, pressing ENTER key after each line: A 100 ; Debug instruction for assemble MOV AH,0D ; Disk Reset INT 21h ; causes SmartDrv 4.x to write cache MOV AX, 40 ; set up segment addressing MOV DS,AX DS: OR BYTE PTR [17],0C ; equivalent of pressing CTRL+ALT MOV AX,4F53 ; Issue a "DEL" (53h = DEL scan code) INT 15h ; EMM386 sees this & shuts down. DS: MOV WORD PTR [72],1234 ; Set REBOOT flag to Warm-Boot (0=cold) JMP F000:FFF0 ; Execute the internal restart routine <CR> ; This line must be blank (just hit ENTER) R CX 20 ; File size to be written to disk (in hex) N REBOOT.COM ; Filename W ; Write the file to disk Q ; Quit Debug NOTE: The REBOOT.COM file created with this debug script is compatible with SMARTDrive and its write-behind cache feature. The instructions in REBOOT.COM cause SMARTDrive to write (flush) its write-behind cache to disk before the computer is rebooted.

The following commands can be used to copy and rename the configuration files to the root directory of the C drive and restart the computer. To simplify the process, you can put these commands into batch files.

To start your machine for Windows, use the following commands: copy c:\configs\autoexec.dos c:\autoexec.bat copy c:\configs\config.dos c:\config.sys reboot.com To start your machine for the 386 application, use the following commands: copy c:\configs\autoexec.386 c:\autoexec.bat copy c:\configs\config.386 c:\config.sys reboot.com

Apr 29, 2008 | Computers & Internet

Not finding what you are looking for?
Canonical Ltd. Ubuntu Logo

Related Topics:

527 people viewed this question

Ask a Question

Usually answered in minutes!

Top Canonical Ltd. Computers & Internet Experts

none

Level 2 Expert

137 Answers

Dennis Gutowski
Dennis Gutowski

Level 2 Expert

110 Answers

Are you a Canonical Ltd. Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...