FreeBSD - question

Soldato
Joined
8 Nov 2003
Posts
7,409
Location
UK
Hello,

Have sucessfully installed FreeBSD, (gave up with Gentoo) and have a basic question for you guys for the moment.

I've just inserted a USB flashdrive into my laptop which the O/S has detected but it has not returned back to the prompt so I cannot enter any commands...

How do I get the command prompt back? I know I can use a different one by hitting Alt+F2 but I don't wish to do that.

Window currently says:

# umass0: <USB 2.0 Flash Disk, class 0/0, rev 1.10/1.0, addr 2> on uhub0
da0 at umass_sim0 bus 0 target 0 lun 0
da0: <USB 2.0 Flash Disk 4.00> Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: 248MB (509439 512 byte sectors: 64H 32S/T 248C)


Thanks
 
It looks like it's just spewed kernel messages over the console. Did you try just hitting enter ?

From what I remember syslogd logs stuff to /dev/console and/or root by default. It can be rather annoying in my opinion. You should be able to reconfigure this by editing /etc/syslog.conf and then restarting syslogd.
 
Ok, it just had to reboot for some reason or another.

Back to mounting the USB Flash Drive, am following page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

Have done these commands:

# mkdir /mnt/gareth
# chown gareth:gareth /mnt/gareth

The chown one didn't work till I CD to /mnt/gareth which it didn't tell me to do...

Then I enter this command:

mount -t msdosfs -m 644 -M 755 /dev/da0s1 /mnt/gareth

And it says:

mount: illegal option - - m
usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs ¦ external_type]
mount [-dfpruvw] special ¦ special node
mount [-dfpruvw] [-o options] [-t ufs ¦ external_type] special node

So as far as I can see there is no -m switch. So where the hell has the handbook got this from? This is so retarded!

EDIT: Ok, I just removed the "-m 644 -M 755" and it has worked.
 
Last edited:
Ok, I am now trying to install NDISWrapper which is proving to be a pile of crap:http://ndiswrapper.sourceforge.net/...ption,com_openwiki/Itemid,33/id,installation/

Look under the compile bit...I am running command:

make install

And it says

make -C driver install
"makefile", line 19: Missing dependency operator
"makefile", line 21: Need an operator
Error expanding embedded variable.
*** Error code 2

Stop in /mnt/gareth/ndiswrapper-1.52

What am I doing wrong?!
 
why did you give up on gentoo? was it because you couldn't install ndiswrapper? Are ther really no native drivers for your chipset? Could you really not emerge it as i'd suggested?

Seriously - it's great that you're trying Gentoo and BSD, but you do have to have patience and perservere - if you don't have these, then try one of the binary based distros. Arch and Debian are excellent candidates - a bit more guided, as everything is pre-compiled to start with - but less of a learning curve (although substantially more than *ubuntu) Also - with Arch, once you've got used to the way *nix works, you can start playing with ABS (which is like ports and portage..... just not quite as good).
 
I've spent the past 2 or 3 days trying to install a simple USB wireless device and have gotten no where! Problem after problem with gentoo.

I think this is my problem with NDISWrapper

You need a recent kernel, at least 2.6.18 or 2.4.26, with kernel headers, and gcc-3.4 or newer. Make sure that /lib/modules/VERSION/build is a link to the kernel source, where VERSION is the version of the kernel you are running; this should be setup automatically by distribution package. If this path is not valid, kernel modules can’t be compiled. Also make sure gcc and associated packages (e.g., libc6-dev on Debian based distributions) are installed so C programs can be compiled. For help with these steps, refer to your distribution documents.

How do I do all of that?
 
I would tend to agree - however, I have asked before why you need NDISwrapper - Network Driver Interface Specification... which, I might add is only a specification in MS Windows.... the reason it's NDISwrapper is because it adds a compatibility layer for WINDOWS drivers. Is your card SO obscure that it has no native drivers?!

You haven't answered any question which I have posed.
 
Yeah, the only way I can get it to work is by using NDISwrapper. There does not appear to be a linux driver released. :(

I can't get Xorg to run either. It would appear there is a bug with it and ATI cards. Great.
 
What attracted you about Gentoo and FreeBSD? Have you considered trying a distro better known for easy configuration and wide hardware support, such as OpenSUSE, Fedora, or Ubuntu?
 
Have used Ubuntu before and found it rather easy to use. Just want more of a challenge. Gentoo was a bit too much of a challenge. I found that I was following instructions but kept coming across errors and such, and so gave up.

FreeBSD has been fine installing and that. I just need to fix Xorg (doesn't like my ati card - Rage mobility) then I can run KDE.

But I am seriously stuck using xorg, I've done many, many combos in the configurations and it still won't load. Even with vesa. It's probably something incredibly obvious to you guys but it isn't to me.

I want to get away from Windows XP because I feel that I have mastered it and just fancy a change really.

I'm using an old Dell Latitude CPx H500 to mess about with first before I load a unix or linux o/s onto my main computer. :)
 
No mate, not tried that one yet. I shall bear it in mind though...thank you :)

I think this is my prob with Xorg. Any suggestions would be super

(EE) ATI(0): [dri] ATIDRIScreenInit failed because of a version mismatch.
[dri] mach64.o kernel module version is 1.0.0, but version 2.x is needed (with 2.x >= 2.0).
[dri] Disabling DRI.
 
looks like you need to compile a new module for your card to enable DRI, xorg (7.3?) doesnt want to play with your current driver (module). try removing DRI from your xorg.conf and see if that gets it started.

definitely recommend arch though, more hardcore than ubuntu but if you have solid linux basics you should be ok and it runs hella faster than Ubuntu.
 
Personally, I was starting to think that this guy is trolling - because he didn't really answer any question I posed whilst trying to help him.

No offence if that isn't the case - but you don't really seem that interested in being helped........
 
Personally, I was starting to think that this guy is trolling - because he didn't really answer any question I posed whilst trying to help him.

No offence if that isn't the case - but you don't really seem that interested in being helped........

What? I've done nothing but ask for help but haven't had a great deal!

I've tried removing dri from the config file which didn't work, but, a window with the mouse as a cross loaded up for about a split second then dissapeared. Then recieved same error message.

From what I've read there seems to be a bug with ATi and Xorg. Had the same problem with Gentoo but I changed the driver from ATi to vesa which worked, however it won't work with this O/S.
 
Last edited:
I've spent the past 2 or 3 days trying to install a simple USB wireless device and have gotten no where! Problem after problem with gentoo.

I think this is my problem with NDISWrapper

You need a recent kernel, at least 2.6.18 or 2.4.26, with kernel headers, and gcc-3.4 or newer. Make sure that /lib/modules/VERSION/build is a link to the kernel source, where VERSION is the version of the kernel you are running; this should be setup automatically by distribution package. If this path is not valid, kernel modules can’t be compiled. Also make sure gcc and associated packages (e.g., libc6-dev on Debian based distributions) are installed so C programs can be compiled. For help with these steps, refer to your distribution documents.

How do I do all of that?

I think you're out of your depth. Try Arch.
Sorry that isn't very helpful but there are plenty of howtos on the net that will tell you how to do this stuff. That's the best way to learn.
If you don't even know how to compile kernel modules then I'd suggest that you're going to be on a very steep learning curve using BSD or Gentoo.

EDIT: Ninja edit :P
 
Last edited:
Update:

Tried openSuSe 10.3 - Looks good, but is too slow on my laptop and couldn't get much working for me.

Now tried Arch Linux and to be honest I wish I had tried it sooner!

My USB wireless adapter only bloody works doesn't it! :D

Used NDISWrapper, worked fine. Used netcfg and edited the template in /etc/network-profiles

Had a bit of a play with this and basically it all works. Even detects and connects every time I reboot. :)
 
Back
Top Bottom