Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > MkLinux

MkLinux
Thread Tools
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Aug 10, 2003, 01:56 PM
 
I'm putting MkLinux on an old PowerMac 6100, for something to do :-p
What's the easiest way to set up networking between MkLinux and OS X? I tried to set up NFS between an OS X machine and an OS X Server once before, and that did not work. As I think of it I bet FTP is goona be my best bet. Are there any AFP unix programs I could install on the linux?
     
Mac Elite
Join Date: Sep 2002
Status: Offline
Reply With Quote
Aug 10, 2003, 06:15 PM
 
netatalk? maybe?
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Aug 10, 2003, 06:22 PM
 
OK I have a new problem I installed it and it went through the configuration, but I didn't realize i was supposed to write down boot drive device name, which you have to enter in the conf file in MacOS. Is there a way I can get this info without reinstalling linux? You can't boot off the install as is, and linux only likes my old 1X CD ROM so it takes like 8 hours to install.
     
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Aug 11, 2003, 02:38 PM
 
Originally posted by l008com:
OK I have a new problem I installed it and it went through the configuration, but I didn't realize i was supposed to write down boot drive device name, which you have to enter in the conf file in MacOS. Is there a way I can get this info without reinstalling linux? You can't boot off the install as is, and linux only likes my old 1X CD ROM so it takes like 8 hours to install.
What is your scsi id? You should be able to 'guess' at what you need.

Its been a long time since I've installed MKLinux, but you should be able to look at their examples and try changing the value to your setup. It can't hurt, and once you've got it right, it'll boot up like a charm!

Good luck.
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Aug 11, 2003, 04:25 PM
 
Is there a place I can simply look it up? I think its the 7th partition on the drive, and I think its SCSI ID is 1? or 0? But I don't know, and I have no idea what to write in the conf file. This is my first UNIX besides OS X.
     
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Aug 12, 2003, 06:32 AM
 
Cool, glad to see you trying to tackle the tough stuff. This was the first linux available for Powermac's.

Try using this in your boot variable:

/dev/sda6

or

/dev/sdb6

The rule is:

/dev is the device directory with pointers to hardware and software devices

/sd is Scsi-Disk

and a/b is the id number

then followed by the partition number

I believe the partition numbers start with 0-7, but if that doesn't work try using: /dev/sda7 or /dev/sdb7

Good Luck! Just realize the video will be terribly slow and not really suitable for running X-Windows for a regular box. It should make a great server though, which I used a 7100 for almost a year once.
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Aug 12, 2003, 10:16 AM
 
partition number or drive SCSI ID number
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Aug 13, 2003, 03:49 PM
 
Originally posted by l008com:
partition number or drive SCSI ID number
Here is a regurgitation of what bluedog said:

/dev/sd<SCSIID><partition>

Where SCSIID is a-g for 0-7, and partition is the partition number on the drive.

You could also just type 'df' at the terminal to see the drive mounted to '/' (if you can boot into Linux).

As I recall, the last version of MkLinux I used had a control panel that could be used to boot into MkLinux without having to know the device name.
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Aug 13, 2003, 09:40 PM
 
Somehow, I don't know how, but I got it. This doesn't seem as loaded as I though it would be though. SSH is off, if it even came with it. Can someone tell me how to turn it on? And it appears to not have curl, does it have some other downloader? Also it has X11 but I can't figure out how to do anything with it. Where are my apps? Is there some sort of Menubar/TaskBar/Dock or something that you can bring up in there? In the end I just wanna get Dnet running on this machine, and apache, and probably an FTP server.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Aug 13, 2003, 10:01 PM
 
Originally posted by l008com:
Somehow, I don't know how, but I got it. This doesn't seem as loaded as I though it would be though. SSH is off, if it even came with it. Can someone tell me how to turn it on? And it appears to not have curl, does it have some other downloader? Also it has X11 but I can't figure out how to do anything with it. Where are my apps? Is there some sort of Menubar/TaskBar/Dock or something that you can bring up in there? In the end I just wanna get Dnet running on this machine, and apache, and probably an FTP server.
1) SSH may not be installed. Look for sshd. If it's not there, you probably just have telnet. If you have the compiler installed, you can download and compile ssh with little difficulty.

2) curl is not installed, but I bet wget is.

3) run startx to start up X11

4) Apps are in /bin, /usr/bin, /usr/sbin, /usr/X11R6/bin, and /usr/local/bin

5) Once you get X11 going, you can worry about finding a good lightweight window manager (fvwm2 or maybe OpenStep) that will offer features like a dock.

6) You don't need a gui to get apache, ftpd, or dnetc going. In fact, I suspect on that old of a linux release you'll be forced to do it via cli.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Aug 13, 2003, 10:07 PM
 
I can get apache and dnet going no prob, and I can download dnet now that I know there's a downloading program I can use. I think compiling ssh is a little out of my league unless I have very specific directions.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Aug 14, 2003, 12:54 PM
 
Originally posted by l008com:
I can get apache and dnet going no prob, and I can download dnet now that I know there's a downloading program I can use. I think compiling ssh is a little out of my league unless I have very specific directions.
ftp://ftp.ca.openbsd.org/pub/OpenBSD...rtable/INSTALL

That's pretty specific. The basics are (1) download, (2) unzip and untar (3) run ./configure (5) run make (6) run sudo make install.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 2, 2003, 06:47 PM
 
Originally posted by Arkham_c:
1) SSH may not be installed. Look for sshd. If it's not there, you probably just have telnet. If you have the compiler installed, you can download and compile ssh with little difficulty.

2) curl is not installed, but I bet wget is.

3) run startx to start up X11

4) Apps are in /bin, /usr/bin, /usr/sbin, /usr/X11R6/bin, and /usr/local/bin

5) Once you get X11 going, you can worry about finding a good lightweight window manager (fvwm2 or maybe OpenStep) that will offer features like a dock.

6) You don't need a gui to get apache, ftpd, or dnetc going. In fact, I suspect on that old of a linux release you'll be forced to do it via cli.
I dont seem to have curl or wget!?! Now what, is there something else?? Also how do I edit this computer's TCP/IP settings?
     
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status: Offline
Reply With Quote
Sep 2, 2003, 06:54 PM
 
Do you have lynx?
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 2, 2003, 07:09 PM
 
Originally posted by gatorparrots:
Do you have lynx?
Yes.
(looking at it right now) but what is it?
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 2, 2003, 07:16 PM
 
aaaaaaaaaaaaaaaaah
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 2, 2003, 09:24 PM
 
Originally posted by Arkham_c:
ftp://ftp.ca.openbsd.org/pub/OpenBSD...rtable/INSTALL

That's pretty specific. The basics are (1) download, (2) unzip and untar (3) run ./configure (5) run make (6) run sudo make install.
Not specific enough, where do you download it from?
Aaw man it looks like I have to install OpenSSL first :-( im not good at this stuff
OK I installed OpenSSL and now I try to "./configure" OpenSSH and I still get the same error I got before, which is "Can't find recent OpenSSL libcrypto" What does that mean? How do I clear that up?
(Last edited by l008com; Sep 3, 2003 at 01:36 AM. )
     
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status: Offline
Reply With Quote
Sep 3, 2003, 07:36 AM
 
Ha, back in 1997 I spent 10 days downloading mklinux over 28.8. I got it running on a pizza box Performa 1115CD. I got my first taste of the future and started hating system 7.6

As I recall when you install a library like libcrypto sometimes you have to run ldconfig so the system can see it.

It may have been put somewhere odd.
find out where it was placed and see if that directory is in /etc/ld.so.conf

if not, add the directory to /etc/ld.so.conf then run ldconfig

try: # locate libcrypto

likely places are /usr/local/lib, /usr/local/libexec, /usr/lib, /usr/libexec

another option is to make some symlinks



here's a couple of links:

http://www.mklinux.org/

http://www.mklinux.org/mailinglists.html

have fun!
(Last edited by Gavin; Sep 3, 2003 at 07:53 AM. )
You can take the dude out of So Cal, but you can't take the dude outta the dude, dude!
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Sep 5, 2003, 04:01 AM
 
Originally posted by l008com:
Yes.
(looking at it right now) but what is it?
A text-based web browser - with frames support - if you think other Mac browsers are too slow...
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Sep 6, 2003, 09:35 PM
 
Originally posted by Gavin:
Ha, back in 1997 I spent 10 days downloading mklinux over 28.8. I got it running on a pizza box Performa 1115CD. I got my first taste of the future and started hating system 7.6

As I recall when you install a library like libcrypto sometimes you have to run ldconfig so the system can see it.

It may have been put somewhere odd.
find out where it was placed and see if that directory is in /etc/ld.so.conf

if not, add the directory to /etc/ld.so.conf then run ldconfig

try: # locate libcrypto

likely places are /usr/local/lib, /usr/local/libexec, /usr/lib, /usr/libexec

another option is to make some symlinks



here's a couple of links:

http://www.mklinux.org/

http://www.mklinux.org/mailinglists.html

have fun!
ldconfig, command not found, and the closest thing I could find to libcrypto is "libcrypto.a" in the OpenSSL folder. Am I doing this right I'm really kinda lost here.
     
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status: Offline
Reply With Quote
Sep 7, 2003, 09:07 AM
 
Originally posted by l008com:
ldconfig, command not found, and the closest thing I could find to libcrypto is "libcrypto.a" in the OpenSSL folder. Am I doing this right I'm really kinda lost here.
OK, a couple questions.

Are you doing this as root? Some commands may not be available if you are not root.

Did you run 'make install' after you compiled OpenSSL? That should copy libcrypto.a to a standard location like /usr/lib



Also, there are 2 different kinds of formats for binary files. aout and elf. elf is the newer one and its lib files end in .o - aout is the older one and its files end in .a
most linux systems these days have both (with aout for backwards compatibility), older systems don't have elf so you have to make sure things are compiled to use aout or they won't run.

the .configure step you do before compiling should set things up to use the right kind of format.

ldconfig is for elf - it may not be on your system. If it isn't then you don't need it.

that's how I remember it anyway. This library stuff can get pretty technical pretty fast so:

here is an archive of the mklinux mailing list,

http://search.lists.apple.com/mklinux-users
You can take the dude out of So Cal, but you can't take the dude outta the dude, dude!
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:14 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2