Jump to content

Fileserver


galla2k4eva

Recommended Posts

whats the pinout on a serial cable? I gotta try this :D

516556[/snapback]

 

I've no idea.

 

http://howtos.linux.com/howtos/Remote-Seri...-terminal.shtml

 

The first wiring diagram on there is probably the best one. Find a DB9 pinout and you could probably figure it out. Otherwise, go to some shop and buy a "Null Modem Cable"

 

http://cgi.ebay.co.uk/ws/eBayISAPI.dll?Vie...5791352324&rd=1

 

That one also tells you how it's been wired if you want to figure it out :P

 

Been looking at the freeBSD manual but everythime I do I think how the #@`\#~ can anyone understand this #~@/*&

 

Looks like the config has to be done with everything plugged in =S

 

The handbook goes in to rather lengthy detail on the serial console ( because it's also used for kernel debugging by the developers ;) ). It's really quite simple. From what I remember... it's just a case of:

  • ee /boot.config
  • just put "-h" in to this file, without the "'s obviously
  • save, reboot, done!

I honestly don't remember doing anything more than that....

Share this post


Link to post
Share on other sites

  • Replies 234
  • Created
  • Last Reply

Top Posters In This Topic

thanks man!

because he is the only BSD king there is is :lol:

516576[/snapback]

 

lol quite, quite!!

 

Haha yea. Dunno wether to give this a go now or tomorrow.

516584[/snapback]

 

You know you want to try now :) You'll need to make sure you plug the cable in to serial port 1 on mr BSD box though... you have to recompile some things to get it on serial port 2...

 

EDIT: Alright there's one more thing you have to do to get the login prompt over serial console.

  • ee /etc/ttys
  • find an entry that looks like the following
    # Serial terminals
    # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
    ttyd0 "/usr/libexec/getty std.9600" dialup off secure
     
    change "dialup" to "xterm" or "cons25" (i use xterm and it works just fine for me, so meh) and change "off" to "on"
  • save

Should do it I think..

Share this post


Link to post
Share on other sites

Okay I just plugged it in and it started rattling =S probably the sucky oem hsf.

I'll take a look tomorrow =/

516607[/snapback]

 

:lol: yeah, probably a fan of some sort. dang things..! Either that or your computer is a baby and just wants a rattle toy thing to play with...

Share this post


Link to post
Share on other sites

Coolness :) (mainly posting just so you can post back lol)

516943[/snapback]

Haha thanks man!

 

Erm lil problem ( I hope its 'lil')

 

See attached photo of console. Theres an incosistency in a file =/

How do I fix this??

Share this post


Link to post
Share on other sites

Soft update inconsistencies are...... uhm.... pretty nasty usually lol.

 

The only time I have got those is when I haven't shut down properly (power cut.. or excessive panicing on 5.x) orrr... that time when the IDE cable came a bit loose.

 

Anyhow, to fix it hit enter at that prompt and run (I think).....

 

`fsck /dev/ad0s1g`

 

After that finishes (you may be asked questions about bad blocks and stuff, might wanna take some pictures and post them before hitting "y" lol) you should be able to type `exit` and hopefully it'll boot properly.

 

EDIT: If you didn't do anything wrong and it shutdown properly and everything it may be a sign something is a little wrong, but we'll worry about that afterwards..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...