RE: Locked volume


Subject: RE: Locked volume
From: Al Koller (al.koller@spacecoastnet.com)
Date: Mon Jul 02 2001 - 21:03:16 MDT


Hi Brice.

Using your input, I was able to do 2 of the three items. First, I got the
network running by just configuring the Mac side to another IP address and
away it went. I should have thought of that on my own... Second, I got the
full screen running by dropping to console and running MOL from there.
However, the screen display is very high res, making the icons extremely
small. These old eyes are going to have to work really hard to see fonts,
etc... Any way to change that??? Also, when I try to go back from console
to X, MOL stops cold... Maybe I am going back wrong... Not a big deal, but
curious if there is a way to go back and forth between X and console without
stopping processes.

Third, I've about got the printer shared, but only because I have a son who
knows Linux well and was able to go gets CUTS and install a printer for me.
My USB printer was not configured for the USB port, and it took us an hour
or so to do that. I'm close, but we don't know how to configure to use the
printer from the Linux side to the Mac side.... Derrik Pates gave me
information similar to yours, adding that we needed to configure papd. We
don't know how to do that yet. The printer works fine from the Linux side
(colors are a little odd, but who cares???), but nothing has shown up on the
Mac side yet. Can you help?

Thanks again.

Al Koller

-----Original Message-----
From: Brice D Ruth [mailto:brice@webprojkt.com]
Sent: Saturday, June 30, 2001 10:34 PM
To: mol-general@lists.maconlinux.org
Subject: Re: Locked volume

Glad you got things to work! Always good to hear another success story ;)

Now, to your questions:

1) You'll need to setup networking. This can occur in a variety of
ways, I'll tell you how I do it. In Linux, I have 'Net access via the
device /* eth1*/ - if you use dial-up, this will probably be /*ppp0*/
for you. I create an ethertap device -your kernel will need to support
this as a module or built-in. I configure the ethertap device (tap0)
and then setup IP forwarding & masquerading in Linux, start MOL and
setup networking in MacOS. Here's what I do:
(as root)

*/sbin/modprobe ethertap**
**/sbin/ifconfig tap0 192.168.1.1 \
  broadcast 192.168.1.255 \
  netmask 255.255.255.0 up**
**echo 1 > /proc/sys/net/ipv4/ip_forward**
**/sbin/iptables -t nat -A POSTROUTING -o /eth1/ -j MASQUERADE**
**startmol**
*
Once in MacOS, I setup my TCP/IP to use IP Addr 192.168.1.2, netmask
255.255.255.0, router/gateway 192.168.1.1, and DNS 24.6.204.17 (you'll
use your own DNS server, whatever you have on the Linux side). That's
it - save your settings and you ought to have access, assuming you have
access from Linux.

2) If your USB printer doesn't work under Linux, then you're probably
SOL, at least as far as I know. The good news is, there's a damn good
chance that your printer DOES work under Linux - and that you can then
share it to your Mac as a Postscript printer (even if the printer itself
isn't Postscript capable). We can tackle the printer issue in a
separate email, but essentially you'll be setting up the Common Unix
Printing System (CUPS) in Linux, which you can find RPMs for.

3) Full screen - I typically run MOL from one of my console terminals
(1-6), i.e. outside of X Windows. I'm not sure if MOL automagically
starts itself full-screen in VT8 if you start from w/in X, but I know
it does if you start from the console. So, simply switch to a console
(ctl-command F1,F2,F3,F4,F5, or F6), login as root and startmol.

Hope this gets you a little closer to the nirvana that is MOL! ;) Enjoy.

-Brice

Al Koller wrote:

>Greg and others:
>
>The edit to unlock volumes worked great; please note that you must comment
>out the other devices in the config file (hda, hdb, etc.) or you get all
>kinds of interesting phenomena like double icons on the desktop, etc. Once
>you get a read/write partition defined, you can do normal things from the
>desktop. I need help with three configuration issues in MOL:
>
>1. How can I get the system to allow me to surf the net? I cannot see out
>in MOL, although the programs (Netscape and IE) both run and try.
>2. How can I get a USB printer to work? I have an HP and am using an iMac,
>so this is pretty important.
>3. How can I get a full screen using MOL? Right now my window is limited
to
>about half the screen. My other screens in KDE will expand to full screen,
>but not MOL.
>
>Thanks for any help you can give.
>
>Al Koller
>
>-----Original Message-----
>From: greg@earthlink.net [mailto:greg@earthlink.net]On Behalf Of Greg
>Painter
>Sent: Sunday, June 24, 2001 10:58 AM
>To: Mac On Linux
>Subject: Re: Locked volume
>
>
>
>>I get a ?locked volume? error message when attempting to do almost
>>
>anything in > > > MOL. Could
>
>>someone please help me resolve that issue and direct me to a good source
>>
>to read > and learn
>
>>about the basics?
>>
>
>
>For the ?locked volume?, edit the file /etc/molrc, specifically the section
>HFS volumes. I had to add the new lines for /dev/sda6 and 7, these are the
>HFS partitions on my disk drive.
>####################################
># HFS volumes
>####################################
>#
># blkdev: device flags
>#
># Device can for instance be /dev/hda, /dev/hda6 or /dev/sda4.
># The following flags are supported:
>#
># -rw/-ro read-write / read-only [default]
># -force export non-HFS partitions (be careful!)
># -cd CD
>
>blkdev: /dev/sda6 -rw
>blkdev: /dev/sda7 -rw
>#blkdev: /dev/hda -ro
>#blkdev: /dev/hdb -ro
>#blkdev: /dev/sda -ro
>#blkdev: /dev/sdb -ro
>blkdev: /dev/cdrom -cd
>
>Try this url for Mac On Linux information:
>http://www.maconlinux.org
>--
>Greg Painter
>USA, Utah, Layton
>
>

Glad you got things to work!  Always good to hear another success story ;)

Now, to your questions:

1) You'll need to setup networking.  This can occur in a variety of ways, I'll tell you how I do it.  In Linux, I have 'Net access via the device eth1 - if you use dial-up, this will probably be ppp0 for you.  I create an ethertap device -your kernel will need to support this as a module or built-in.  I configure the ethertap device (tap0) and then setup IP forwarding & masquerading in Linux, start MOL and setup networking in MacOS.  Here's what I do:
(as root)

/sbin/modprobe ethertap
/sbin/ifconfig tap0 192.168.1.1 \
  broadcast 192.168.1.255 \
  netmask 255.255.255.0 up

echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
startmol

Once in MacOS, I setup my TCP/IP to use IP Addr 192.168.1.2, netmask 255.255.255.0, router/gateway 192.168.1.1, and DNS 24.6.204.17 (you'll use your own DNS server, whatever you have on the Linux side).  That's it - save your settings and you ought to have access, assuming you have access from Linux.

2) If your USB printer doesn't work under Linux, then you're probably SOL, at least as far as I know.  The good news is, there's a damn good chance that your printer DOES work under Linux - and that you can then share it to your Mac as a Postscript printer (even if the printer itself isn't Postscript capable).  We can tackle the printer issue in a separate email, but essentially you'll be setting up the Common Unix Printing System (CUPS) in Linux, which you can find RPMs for.

3) Full screen - I typically run MOL from one of my console terminals (1-6), i.e. outside of X Windows.  I'm not sure if MOL automagically starts itself full-screen  in VT8 if you start from w/in X, but I know it does if you start from the console.  So, simply switch to a console (ctl-command F1,F2,F3,F4,F5, or F6), login as root and startmol.

Hope this gets you a little closer to the nirvana that is MOL! ;) Enjoy.

-Brice

Al Koller wrote:

Greg and others:

The edit to unlock volumes worked great; please note that you must comment
out the other devices in the config file (hda, hdb, etc.) or you get all
kinds of interesting phenomena like double icons on the desktop, etc. Once
you get a read/write partition defined, you can do normal things from the
desktop. I need help with three configuration issues in MOL:

1. How can I get the system to allow me to surf the net? I cannot see out
in MOL, although the programs (Netscape and IE) both run and try.
2. How can I get a USB printer to work? I have an HP and am using an iMac,
so this is pretty important.
3. How can I get a full screen using MOL? Right now my window is limited to
about half the screen. My other screens in KDE will expand to full screen,
but not MOL.

Thanks for any help you can give.

Al Koller

-----Original Message-----
Fro m: greg@earthlink.net [mailto:greg@earthlink.net]On Behalf Of Greg
Painter
Sent: Sunday, June 24, 2001 10:58 A M
To: Mac On Linux
Subject: Re: Locked volume



I get a ?locked volume? error message
when attempting to do almost
anything in > > > MOL.  Could
someone please help me resolve that
issue and direct me to a good source
to read > and learn
about the basics?


For the ?locked volume?, edit the file /etc/molrc, specifically the section
HFS volumes. I had to add the new lines for /dev/sda6 and 7, these are the
HFS partitions on my disk drive.
############################# #######
# HFS volumes
####################################
#
# blkdev: device flags
#
# Device can for instance be /dev/hda, /dev/hda6 or /dev/sda4.
# The following flags are pported:
#
# -rw/-ro read-write / read-onl y [default]
# -force export non-HFS partitions (be reful!)
# -cd CD

blkdev: /dev/sda6 -rw
blkdev: /dev/sda7 -rw
#blkdev: /dev/hda -ro
#blkdev: /dev/hdb -ro
#blkdev : /dev/sda -ro
#blkdev: /dev/sdb -ro
blkdev: /dev/cdrom -cd

Try this url for Mac On Linux information:
http://www.maconlinux.org
--
Greg Painter
USA, Utah, Layton





This archive was generated by hypermail 2a24 : Mon Jul 02 2001 - 21:44:50 MDT