English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 15 September 2012, 05:32   #21
Cammy
Registered User
 
Cammy's Avatar
 
Join Date: Aug 2007
Location: Tasmania, Australia
Age: 39
Posts: 1,198
Xubuntu seems to be the simplest and also the fastest Ubuntu flavour, it's what I have used on a few of the PCs here when I was connecting with the serial cable, so you might want this one. There are ISOs for 32bit and 64bit PCs:

32bit - http://cdimages.ubuntu.com/xubuntu/r...sktop-i386.iso
64bit - http://cdimages.ubuntu.com/xubuntu/r...ktop-amd64.iso

You should be able to just burn it with any burning program, then reboot the PC with the disc in the drive and select it as the boot device in your BIOS if it's not set to boot from a CD/DVD already. If you're installing it to a USB stick, make sure that's plugged in too. I wouldn't recommend anything less than 8GB but you can get by with a 4GB one. The Xubuntu CD will offer to either run the OS from disc or install it first. You can choose what you want to do. I can help when you're ready. Good luck!
Cammy is offline  
Old 15 September 2012, 15:21   #22
orange
Registered User
 
orange's Avatar
 
Join Date: Apr 2007
Location: Belgrade
Posts: 567
Quote:
Originally Posted by Cammy View Post
Xubuntu seems to be the simplest and also the fastest Ubuntu flavour, it's what I have used on a few of the PCs here when I was connecting with the serial cable, so you might want this one...
I think that's mostly because it uses XFCE by default. so you could probably achieve similar speed with other distros, by using lxde or openbox instead of kde/gnome.
but xubuntu does look nice.
orange is offline  
Old 15 September 2012, 21:41   #23
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by Cammy View Post
Xubuntu seems to be the simplest and also the fastest Ubuntu flavour, it's what I have used on a few of the PCs here when I was connecting with the serial cable, so you might want this one. There are ISOs for 32bit and 64bit PCs:

32bit - http://cdimages.ubuntu.com/xubuntu/r...sktop-i386.iso
64bit - http://cdimages.ubuntu.com/xubuntu/r...ktop-amd64.iso

You should be able to just burn it with any burning program, then reboot the PC with the disc in the drive and select it as the boot device in your BIOS if it's not set to boot from a CD/DVD already. If you're installing it to a USB stick, make sure that's plugged in too. I wouldn't recommend anything less than 8GB but you can get by with a 4GB one. The Xubuntu CD will offer to either run the OS from disc or install it first. You can choose what you want to do. I can help when you're ready. Good luck!
Thanks, Cammy. That's a great help - exactly what I needed!
prowler is offline  
Old 16 September 2012, 10:54   #24
orange
Registered User
 
orange's Avatar
 
Join Date: Apr 2007
Location: Belgrade
Posts: 567
@prowler
debian is also nice.
I use it mainly because there is Amiga version of it, also ppc (though both stopped developing long time ago) and for other exotic hardware.
its very similar to ubuntu, you can even use the same binaries.
orange is offline  
Old 29 September 2012, 00:12   #25
lesta_smsc
Registered User
 
lesta_smsc's Avatar
 
Join Date: Feb 2012
Location: United Kingdom
Posts: 3,186
Thanks for the share Cammy! Although, 8Gb for linux distro pretty big! I get away with the Ubuntu or Knoppix lol.
lesta_smsc is offline  
Old 29 September 2012, 11:02   #26
Twiggy
\m/
 
Twiggy's Avatar
 
Join Date: Nov 2008
Location: Devon, U.K.
Posts: 573
Has anyone had any success using Mlink yet? If so, how?
Twiggy is offline  
Old 29 September 2012, 18:13   #27
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,911
Quote:
Originally Posted by lesta_smsc View Post
8Gb for linux distro pretty big!
The live environment fits in around 700MB of space, but you'll need some extra space on your usb stick in order to store files.
Jope is offline  
Old 07 October 2012, 23:13   #28
kronuz
Registered User
 
Join Date: Jul 2012
Location: Oslo, Norway
Age: 38
Posts: 26
Send a message via Yahoo to kronuz
Regarding Buildmlink.

This is what I did .

In Terminal:

sudo apt-get install linux-kernel-headers

...and then

sudo apt-get install build-essential

I removed lines containing bcopy from conftest.c
I edited the 3(i think ) lines in mlink.c containing gettimeofday to

gettimeofday(&ntv,NULL);



This is where I'm stuck ATM:




lars@LARS-CELSIUS-M:~/Downloads/MultiLink/Unix/mlink$ sudo sh buildmlink
Multilink Configure

Finding C compiler...
Has GCC.

Compiling test file...
Known system, Using defines in config.h
Configuration done.

Building makefile...

Building mlink...

rm mlink.o mux.o sockcmds.o sockchk.o mlconfig.o lists.o tty.o fifo.o escape.o packetec.o openpty.o errnomap.o globals.h
sed -n -e "/^export/ p" *.c > globals.h
gcc -traditional -c mlink.c

Build was unsuccessful.
Error file is in make.err


make.err reads:

rm: cannot remove `mlink.o': No such file or directory
rm: cannot remove `mux.o': No such file or directory
rm: cannot remove `sockcmds.o': No such file or directory
rm: cannot remove `sockchk.o': No such file or directory
rm: cannot remove `mlconfig.o': No such file or directory
rm: cannot remove `lists.o': No such file or directory
rm: cannot remove `tty.o': No such file or directory
rm: cannot remove `fifo.o': No such file or directory
rm: cannot remove `escape.o': No such file or directory
rm: cannot remove `packetec.o': No such file or directory
rm: cannot remove `openpty.o': No such file or directory
rm: cannot remove `errnomap.o': No such file or directory
make: [clean] Error 1 (ignored)
gcc: error: GNU C no longer supports -traditional without -E (<---this is the little bugger)
make: *** [mlink.o] Error 1


Well...that's it for to day
kronuz is offline  
Old 08 October 2012, 01:10   #29
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
kronuz: the error i forgot above ( happens here within a cygwin environment):
Code:
make: [clean] Error 1 (ignored)
gcc: GNU C no longer supports -traditional without -E
make: *** [mlink.o] Error 1
to fix this edit: buildmlink on line 18:
Code:
    cextra=" -traditional"
into
Code:
    cextra=""
next there is the timeofday syntax error, described above. make.err:
Code:
mlink.c:89: error: `Gettimeofday' undeclared (first use in this function)
mlink.c:172: error: too few arguments to function `gettimeofday'
so change in mlink.c line 89:
Code:
Gettimeofday(&otv);
into
Code:
gettimeofday(&otv,NULL);
the one i do not know is:
Code:
mlink.c:149: error: `FIONREAD' undeclared (first use in this function)
found a working replacement, not sure its impact. at least it compiles this part now; edit the line 149:
Code:
 ioctl(0, FIONBIO, &num);
next "gettimeofday" again, edit sockcmds.c line256:
Code:
sockcmds.c:256: error: too few arguments to function `gettimeofday'
system definition is strange, buildscript thinks its a "SVR4" ( systemv release 4 ?!), so have to edit in includes.h (line 54):
Code:
#ifdef SVR4
#include <stropts.h>
#endif
into
Code:
//#ifdef SVR4
//#include <stropts.h>
//#endif
some more gettimeofday locations:
Code:
packetec.c:106: error: too few arguments to function `gettimeofday'
packetec.c:185: error: too few arguments to function `gettimeofday'
next a typo (!?) - found a posting which indicates this:
Code:
openpty.c:115: error: `TIOCFLUSH' undeclared (first use in this function)
line 115 from file openpty.c, into:
Code:
  tcflush(pt->pt_pfd, TCIOFLUSH);
next again as per system definition, cheating here might not work so well:
Code:
openpty.c:129: error: `I_PUSH' undeclared (first use in this function)
this belongs to the pseudo terminal thing. sstill stuck with SVR4 system definition.best we could convince the build script, looking for "linux" like system. i think about it later - if noone else comes first

Hint:
in make.err look for "error:" , those do stop compiling. "warning:" are just for information, can harm things too, but it does compile.
things above only if you read about them in make.err after ./buildmlink .

Last edited by emufan; 08 October 2012 at 02:59.
emufan is offline  
Old 08 October 2012, 11:28   #30
kronuz
Registered User
 
Join Date: Jul 2012
Location: Oslo, Norway
Age: 38
Posts: 26
Send a message via Yahoo to kronuz
Stuck on this.

make: [clean] Error 1 (ignored)
In file included from mlink.c:17:0:
defs.h:86:21: error: field ‘rd’ has incomplete type
defs.h:87:21: error: field ‘wr’ has incomplete type
defs.h:88:21: error: field ‘ex’ has incomplete type
mlink.c: In function ‘main’:
mlink.c:47:5: warning: passing argument 2 of ‘signal’ from incompatible pointer type [enabled by default]
/usr/include/signal.h:101:23: note: expected ‘__sighandler_t’ but argument is of type ‘void (*)(void)’
mlink.c:50:5: warning: passing argument 2 of ‘signal’ from incompatible pointer type [enabled by default]
/usr/include/signal.h:101:23: note: expected ‘__sighandler_t’ but argument is of type ‘void (*)(void)’
mlink.c:52:5: warning: passing argument 2 of ‘signal’ from incompatible pointer type [enabled by default]
/usr/include/signal.h:101:23: note: expected ‘__sighandler_t’ but argument is of type ‘void (*)(void)’
mlink.c: In function ‘cwait’:
mlink.c:281:9: warning: passing argument 2 of ‘waitpid’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/sys/wait.h:139:16: note: expected ‘int *’ but argument is of type ‘union wait *’
make: *** [mlink.o] Error 1


I really don't have time for something like this in the middle of the week....so I found a nice guide on amitcp - linux: http://wnd.katei.fi/amiga/network.html

As I understand, my soon-to-be 2mb chip+ 8 mb fast A500 should be able to run this.
kronuz is offline  
Old 08 October 2012, 17:29   #31
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
and I thought you want mlink at all costs
one from this board (IIRC) made a networkbootfloppy.
this will be a good start, if depencencies fit: http://jpv.wmhost.com/NetworkBootDisk/.
give it a try.
Edit: oh, my bad again, A500 not listed. but worth a look.
emufan is offline  
Old 08 October 2012, 17:46   #32
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
Quote:
Originally Posted by kronuz View Post
Stuck on this.

make: [clean] Error 1 (ignored)
In file included from mlink.c:17:0:
defs.h:86:21: error: field ‘rd’ has incomplete type
defs.h:87:21: error: field ‘wr’ has incomplete type
defs.h:88:21: error: field ‘ex’ has incomplete type
in defs.h, insert on top of file, where you find other includes:
Code:
#include <sys/select.h>
#include <sys/types.h>
cannot confirm, since i dont have the errors yet.
emufan is offline  
Old 09 October 2012, 09:57   #33
kronuz
Registered User
 
Join Date: Jul 2012
Location: Oslo, Norway
Age: 38
Posts: 26
Send a message via Yahoo to kronuz
Ah thanks.
Really I DO want mlink on a500 at all costs...wanting to have as much RAM available as possible.
Looking into amiTcp on the a500 now...looks like it's gonna go well. Seems like the only option that is going to work out by the end of the year....That or digging up a modem

I tried this on my ubuntu last night, but got stuck...and the terminal had to be stopped with ctr-c.

  1. Load module for slip: sudo modprobe slip
  2. Start slattach: sudo slattach -v -d -p slip -s 19200 /dev/ttyS0
  3. Create network interface: sudo ifconfig sl0 172.16.180.1 pointopoint 172.16.180.2 up
  4. Set up network forwarding: iptables -t nat -A POSTROUTING -o sl0 -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE echo "1" >/proc/sys/net/ipv4/ip_forward
kronuz is offline  
Old 09 October 2012, 10:50   #34
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
oh my ... never ever done slip connection; I dont have equipment to test it here.
what i read from related websites, they do add a route/default gateway:
SLIP Configuration
Static IP address SLIP connections using slattach
Slip Networking
emufan is offline  
Old 09 October 2012, 11:16   #35
kronuz
Registered User
 
Join Date: Jul 2012
Location: Oslo, Norway
Age: 38
Posts: 26
Send a message via Yahoo to kronuz
Quote:
Originally Posted by emufan View Post
oh my ... never ever done slip connection; I dont have equipment to test it here.
what i read from related websites, they do add a route/default gateway:
SLIP Configuration
Static IP address SLIP connections using slattach
Slip Networking
thanks for the urls....will have a read when I get done with petting old servers at work. i have aLOT of computers stashed around in cabinets, closets, under the beds and so on....so I will definately have a go at slip to amitcp want to irc with my a500 soo baad
kronuz is offline  
Old 09 October 2012, 19:29   #36
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
i finaly build an executable. cannot test , due to lack of equipment.

the "I_PUSH" in openpty.c problem from above i fixed: openpty.c line 128:
Code:
#ifdef SVR4
    ioctl(pt->pt_tfd, I_PUSH, "ptem");
    ioctl(pt->pt_tfd, I_PUSH, "ldterm");
    ioctl(pt->pt_tfd, I_PUSH, "ttcompat");
#endif
into:
Code:
#ifdef SVR4
    ioctl(pt->pt_tfd, TIOCPKT, "ptem");
    ioctl(pt->pt_tfd, TIOCPKT, "ldterm");
    ioctl(pt->pt_tfd, TIOCPKT, "ttcompat");
#endif
info came from: Linux equivalent of I_PUSH

i did not got the errors from defs.h.

so it builds an executable using cygwin. starting mlink.exe it's stalled now with "STRT" on command line.

Edit: another link from amiga.org: setup slip connection

Edit2: maybe found a replacement for the deprecated FIONREAD, at least a website says so.
Code:
Buffer count and flushing 

FIONREAD 
int *argp 
Get the number of bytes in the input buffer. 
TIOCINQ 
int *argp 
Same as FIONREAD.
Edit3: apply the patch within the mlink folder: patch -p1 < ../mlink.diff.txt
Edit4: after applying the patch, i had to chmod the files ( no clue why ...) : chmod u+rwX * within mlink folder.
Attached Files
File Type: txt mlink.diff.txt (3.6 KB, 143 views)

Last edited by emufan; 09 October 2012 at 23:07. Reason: solution looks better
emufan is offline  
Old 10 October 2012, 20:33   #37
kronuz
Registered User
 
Join Date: Jul 2012
Location: Oslo, Norway
Age: 38
Posts: 26
Send a message via Yahoo to kronuz
Haven't had time to check out your latest changes.
But I have noticed my slackware does not have ttyS0...only tty0

with amitcp to slip , amitcp just reports no connection.
kronuz is offline  
Old 10 October 2012, 21:20   #38
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
try MAKEDEV or mknod: to create device nodes.
those ttyX are terminal windows ( ctrl-alt-Fx ) (IIRC), whereas the ttyS0 are those serial line devices nodes. both should be there, i think. last maybe only created, if there is a need for it, from installed packages, do not know.

did you checked last slip how-to from amiga.org?
emufan is offline  
Old 10 October 2012, 22:59   #39
kronuz
Registered User
 
Join Date: Jul 2012
Location: Oslo, Norway
Age: 38
Posts: 26
Send a message via Yahoo to kronuz
ttys0 is up

still nothing on the amitcp-option...

I dunno in what or where gunni would have issued those commands amiga-side...Can't find much on mbox.

I am digging up a new a500 and another PC...starting over.
kronuz is offline  
Old 11 October 2012, 11:04   #40
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
the commands listed by "gunni" comes from AmigaNOS - Network Operating System for Amiga 500.
How to set up a TCP/IP dialogue between AmigaNOS and a PC or a C64
Aminet has a download of AmigaNOS. older version and tools can be found here.

Edit: this is working somehow:
extract AmigaNOSGW6 , maybe to DH1:
assign TCPIP: DH1:AmigaNOSGW6
create file TCPIP:nos-startup with the commands by gunni at amiga.org (amiga side).
start TCPIP:AmigaNOSGW from CLI. it is reading the nos-startup. more i cannot test here.

Quote:
Originally Posted by kronuz View Post
ttys0 is up
it must be ttyS0, big S.

Last edited by emufan; 11 October 2012 at 19:23. Reason: changed link
emufan is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
amiga 500 with serial no. 1 amiga500 Amiga scene 29 27 March 2010 15:37
Serial Mouse on Amiga - Anyone Succeeded in This? chaoticjelly Hardware mods 3 12 August 2007 11:48
Serial Link Amiga <> PC WinUAE superponey support.WinUAE 3 15 August 2006 00:26
Amiga Explorer and Serial PC ports? chaoticjelly support.Hardware 1 12 June 2005 16:46
PC to Amiga transferring via serial/parallel Bamiga2002 Amiga scene 0 19 October 2004 22:34

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:34.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.16091 seconds with 14 queries