Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-07-2003, 06:30 PM   #1
Registered: Jul 2003
Posts: 133

Rep: Reputation: 15
ideas for LinuxAnswers

This file will be subjected to much modification.
modified 8/7,8/9,8/16
I have a couple of ideas for articles in Linux Answers. I would like to open it up to discussion (to make everything correct) before I submit these to them.
1- how to put users in a group
2- how to create a drive/partition (I don't know how to do this)
3- how to make different file systems
4- how to create a swap drive/file
5- how to get a hardware/software modem to work (I am not sure about the IRQ # thing with this)
6- how to configure jpilot
7- atomic clock sync

1- grep (exhisting user) /etc/group
usermod -G (groups seperated only by commas) (user to add)

2- cfdisk

3- every drive created must have a filesystem on it
unmount drive creating filesystem on
mkfs -t ext2 /dev/(drive)
mkfs -t ext2 -j /dev/(drive) (creates ext3)
mkfs -t vfat /dev/(drive) (creates M$)
mkfs -t hfs /dev/(drive) (creates Mac)
(what other types of fs can be created)
Please explain about journaling and how a fat32 must be created for windows to read it)

4- umount /dev/(drive)
mkswap /dev/(drive)
swapon /dev/(drive)
(editor) /etc/fstab
add '/dev/(drive) swap swap noauto 0 0'
(I don't know how to create a swap file)

5- (this worked for me)
cat /proc/pci (find I/O & IRQ)
less /var/log/messages (find ttyS? & uart)
cd /dev; test -c ttyS? || /MAKEDEV ttyS?; chmod 666 /dev/ttyS?
setserial /dev/ttyS? uart (#) port (#) IRQ (#) baud_base 115200 spd_vhi skip_test
ln -sf /dev/ttyS? /dev/modem
(port = I/O)
try ttyS4 first then the ports found in /var/log/messages
example of relevant part of cat /proc/pci & less /var/log/messages
cat /proc/pci:
Bus 0, device 11, function 0:
Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 1).
IRQ 9. (use this IRQ)
I/O at 0xec00 [0xec07]. (0xec00 is port)
less /var/log/messages
Aug 1 14:34:49 bmike1 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A (16550A is uart)
Aug 1 14:34:49 bmike1 kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A

6- TwistedCranium helped get jpilot going.
chmod 666 /dev/ttyUSB*
rm /dev/pilot
ln -s /dev/ttyUSB1 /dev/pilot
I then opened jplot and snych was successful!
If it does not work after this, contiue on.
Run lsmod and find if PDA module is running, so I did a ....
modprobe visor which started it. (I need other modprobes that can be started)
I then added the modprobe visor line to the file at
/etc/rc.d/rc.local so that the visor module would load at session startup.

7- Get "" (from (Arizona local time is '-07:00:00' hours earlier than UST with no daylight savings)
which perl
(change first line)= #!<which output>
(change) $timediff = <+/- time from UST>
move file to /usr/local/bin

Last edited by bmike1; 08-16-2003 at 05:49 PM.
Old 08-10-2003, 12:16 AM   #2
Registered: Jul 2003
Posts: 133

Original Poster
Rep: Reputation: 15
First post modified on 8/9
added jpilot configuration

Topics contained therein:
1- putting users in a group
2- creating a swap drive
4-creating a filesystem
5- Modem configuration
6- jpilot configuration

Last edited by bmike1; 08-10-2003 at 12:20 AM.
Old 08-25-2003, 07:42 PM   #3
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
mkfs -t vfat /dev/(drive) (creates M$)
If the drive partition is larger than 2048 Mb you'll get an error about a wrong size, you need to supply the -F option to force FAT32, like this: mkfs.vfat -F 32 /dev/hd**.

how to create a drive/partition (I don't know how to do this)
You do that with fdisk (as in Windows), just the GNU fdisk is a little different, read man fdisk for a complete reference.
Old 08-25-2003, 08:08 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: ideas for LinuxAnswers

Originally posted by bmike1
4- umount /dev/(drive)
mkswap /dev/(drive)
swapon /dev/(drive)
(editor) /etc/fstab
add '/dev/(drive) swap swap noauto 0 0'
(I don't know how to create a swap file)
Creating a swap file is the same as making a particular device/partition swap.

First create the file with:

touch <filename>

mkswap /filename

man swap for details on specifying how to create the file at a certain size, etc.

Also as these are good little howto's, examples, I don't feel they qualify for an actual LinuxAnswer, as those are more in depth type articles/howto's. Something along the lines of, "How to install and setup Apache" which goes indepth to get a newbie or anyone for that matter to start from scratch to install and configure apache.
Old 08-26-2003, 01:59 AM   #5
Registered: Jul 2003
Posts: 133

Original Poster
Rep: Reputation: 15
I figured the 'how to' section would be like an area with a list of problems which would lead to an answer and if the answer didn't satisfy the problem then the individual with the problem would ask in the forum.
I just ran into a new problem with the modem and linux so that solution isn't quite ready. The problem is that it can't resolve the host. It dials in fine but won't read mail or go to any web page. Do you know what's wrong?

Last edited by bmike1; 08-26-2003 at 02:00 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LinuxAnswers C++, Pointers, Refrences and Classes. leonscape Programming 5 09-01-2012 02:03 PM
Requests for new LinuxAnswers jeremy LinuxAnswers Discussion 29 09-04-2010 01:46 PM
LinuxAnswers Section jeremy LQ Suggestions & Feedback 1 09-16-2004 04:29 PM
LinuxAnswers jeremy LQ Suggestions & Feedback 1 06-10-2004 11:28 AM
New Section - LinuxAnswers jeremy LQ Suggestions & Feedback 14 07-14-2003 01:27 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration