deleting directories with ??? in name
I've tried lynx, but it did not display the files. I tried emacs, but I was only able to rename two of the directories to other names I could delete; the other two gave me an error of illegal character. I tried 'rm -i -- ?*' but it didn't find the files. I tried 'find . -inum 146 -delete' but while it gave no error message, the files/directories remain. Help! How do I delete these odd directories? Please CC me in your response as I'm not currently subscribed to the List. Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: deleting directories with ??? in name
Erik Trulsson wrote: On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote: I've tried lynx, but it did not display the files. I tried emacs, but I was only able to rename two of the directories to other names I could delete; the other two gave me an error of illegal character. I tried 'rm -i -- ?*' but it didn't find the files. I tried 'find . -inum 146 -delete' but while it gave no error message, the files/directories remain. Help! How do I delete these odd directories? Please CC me in your response as I'm not currently subscribed to the List. #mkdir dir?me #rmdir dir\?me That assumes that filenames actually contain questionmarks. ls(1) by default displays all unprintable characters as question marks. To see what the filenames actually are use 'ls -aB'. To delete files with strange names you can always do a 'rm -i *' and answer 'y' only for the weird files. 'rm -i *' returns no match 'ls -aB' shows me the file names, but even after carefully typing in what it shows me in an 'rm' command (name in quotes) says not found. There are \216, \235, \237, and \377 characters in the names, if this matters. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[Fwd: Re: deleting directories with ??? in name]
I managed to delete the files by recreating the directory. Not to seem ungrateful, but isn't it a Bad Thing that it is not straightforeward to delete any file on the system (as root, and thwarted merely because of the characters in the name of the file/directory)? I'm not in a position to mangle lynx, but oughtn't it to be able to zap ANY file regardless of its name? (emacs is obtuse to me.) Is this worthy of a PR? Or are there other ways to kill a malconforming file? Why should an annonomous FTP user be able to create a directory tree that the root account of the machine can't traverse and delete normally? (Sigh.) Original Message Subject: Re: deleting directories with ??? in name Erik Trulsson wrote: On Mon, Mar 15, 2004 at 03:51:37PM -0800, Derrick Ryalls wrote: I've tried lynx, but it did not display the files. I tried emacs, but I was only able to rename two of the directories to other names I could delete; the other two gave me an error of illegal character. I tried 'rm -i -- ?*' but it didn't find the files. I tried 'find . -inum 146 -delete' but while it gave no error message, the files/directories remain. Help! How do I delete these odd directories? Please CC me in your response as I'm not currently subscribed to the List. #mkdir dir?me #rmdir dir\?me That assumes that filenames actually contain questionmarks. ls(1) by default displays all unprintable characters as question marks. To see what the filenames actually are use 'ls -aB'. To delete files with strange names you can always do a 'rm -i *' and answer 'y' only for the weird files. 'rm -i *' returns no match 'ls -aB' shows me the file names, but even after carefully typing in what it shows me in an 'rm' command (name in quotes) says not found. There are \216, \235, \237, and \377 characters in the names, if this matters. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Fwd: Re: deleting directories with ??? in name]
Chris Pressey wrote: Walter, out of curiousity, what FTP server were you running, and (if you remember) what was the exact output of ls -aB ? I'm running, at the moment, the default ftpd in FBSD 4.6.2. (Yeah, I know, it's way old.) I don't remember the exact output, but contained mostly odd characters, \216, \235, \237, and \377 with a few printable letters. I don't remember even if there were leading dots on the names. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: deleting directories with ??? in name
Parv wrote: in message [EMAIL PROTECTED], wrote Parv thusly... # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ # | xargs -0 rm -fv Oh, don't forget the '-r', for recursion, option for rm(1) as i did. Use this instead... # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ # | xargs -0 rm -rfv - Parv Thanks, but when I did: ls -i and then typed in the inode in the command (saved in an old List e-mail): find . -inum inode -delete it didn't delete them. Do you think your way would work where manual command wouldn't? But, they are gone now, so I can't try it anyway. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Fwd: Re: deleting directories with ??? in name]
Matthew Seaman wrote: On Mon, Mar 15, 2004 at 07:07:46PM -0800, Chris Pressey wrote: That wouldn't explain why 'rm -i *' returned 'no match', though. Just to eliminate the obvious: did these weird filenames begin with a '.'? Shell globbing treats file names with a leading period specially. You'ld have to do: % ls -d .* to get a listing of those files, and: % rm -ri .[^.]* to delete them. Note the extra effort taken to avoid matching the special names '.' and '..' -- doing a recursive delete of '..' is a real foot-shooting exercise. Cheers, Matthew I don't remember whether the files had leading dots or not. Sorry. But I'll keep this method in mind if it happens again. Thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: deleting directories with ??? in name
Hi Parv, It looks like another directory structure has appeared in the ftp directory that Lynx does not see and that find . -inum inode -delete does not delete. It does have a dot as the first character, with some other non-printing characters, but no /. I haven't yet tried to delete it with emacs or Midnight Commander. Do you still want to look at it?? If so, as I'm not overly conversant with tar (or too much else that's *nix), please send me the 'tar' command you'd like me to archive the directory structure with, and I'll send the result. I'm not subscribed to the List, so please CC me. Thanks. Walter Parv wrote: in message [EMAIL PROTECTED], wrote Walter thusly... I apologize for the late reply. Parv wrote: # find . \( -inum inode-1 -o -inum inode-2 \) -print0 \ # | xargs -0 rm -rfv Thanks, but when I did: ls -i and then typed in the inode in the command (saved in an old List e-mail): find . -inum inode -delete it didn't delete them. Do you think your way would work where manual command wouldn't? But, they are gone now, so I can't try it anyway. My _speculation_ is that if '-delete' option did not work from w/in find(1), i doubt that above quoted command chain would cause any difference. I suppose, you also guessed the same. OTOH, the description of -delete option does say... -delete ... It will not attempt to delete a filename with a ``/'' character in its pathname relative to ``.'' for security reasons. ...that is one thing to consider. It would have been fun to experiment w/ the offending directory structure. Next time it happens, send me a sample/small tar'd copy, will you? - Parv ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
handling non-printable characters in file names
Hi all, Leaving out the details, I need to know how to navigate directories and remove files that use non- printable characters in their names. du and ls show me they're there, but I can't figure out how to make cd work, or rm either. Fwiw, the non-printable char is \225. Lynx was not able to see the directory either, but maybe because it began with a . - I don't know. Also, is there a way to configure FBSD from accepting non-printable characters in file names? Thanks in advance. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
no sound with 4.8 KDE
Hi all, After building a new kernel with pcm, and doing sh MAKEDEV snd0 in the /dev directory, there is still no sound from an old Gateway with some kind of PCI Ensoniq card. This is my first crack at setting up an X11 server and sound, so I may be missing something obvious. I've tried running xmms, artsdsp xmms, with and without esd, zinf from a command prompt, and cdcontrol. This all has been built a couple days ago, with 4.8 a week old CD-ROM built via FTP, and KDE via FTP direct. The sound output driver selection in xmms shows nothing for the audio and mixer devices, and selecting the alternates (/dev/dsp /dev/mixer) does not make it work. Also, if it bears on the issue, I couldn't get the nVidia driver to run - it failed without an error message in the log file (only info msgs) - so I used Vesa which causes some garbage to be put on the screen upon initialization, but then works thereafter. TIA. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no sound with 4.8 KDE
Matthew Graybosch wrote: Did you open up a mixer program like kmix and making sure that the CD, PCM, and Master channels aren't muted? I'd had that happen to me a few times with Linux when installing ALSA. I DL'd aumix. It showed me that the volumes were not set to zero except for the mic. I changed them up a bit, tried xmms, muted off then on, tried xmms. Still no sound. Thanks though. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no sound with 4.8 KDE
[EMAIL PROTECTED] wrote: On Sat, Jul 19, 2003 at 08:44:03PM -0500, Walter wrote: Try setting both vol and pcm to 100:100 using the mixer(8) utility. For me at least, my soundcard is *extremely* soft unless I use 100% volume. Sample commands: # mixer vol 100:100 # mixer pcm 100:100 $ xmms Thanks, but that didn't work either. (I know the speakers work because when I recently had Win 98 on the HD it always made that little Windows orchestration when it started up.) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no sound with 4.8 KDE
Lowell Gilbert wrote: Okay, let's go back to the basics. What does dmesg|grep pcm show? pcm0: AudioPCI ES1370 port 0x1080-0x10bf irq 10 at device 13.0 on pci0 I've checked that the port memory does not overlap anything else, also that there are no other devices that use irq 10 at device 13.0. Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no sound with 4.8 KDE
liquid wrote: What sound isn't working? Just xmms? Or have you tried using something like noatun - which comes with KDE 3.1 When you run the sound daemon for system sounds and such on KDE, it interferes with xmms, and as a result xmms doesn't work. You have to turn that off in order to use xmms. Usually its as easy as looking for something like arts in ps -x I get a beep when I backspace while at column 1 at the console, but not within a console window inside KDE. Also, I've read just recently that KDE chimes when it starts - I don't get that either. zinf does not give me any sound running at the root console (nor inside KDE), btw. The KDE shell tells me it is for version 3.1.0, but typing in noatun is not a command. Where/what is that? I just discovered that the system bell works, and I can change it's pitch. fwiw. arts, is set, via the sound system module, to let go of the sound card after 60 seconds, which pop-up message I see. xmms does not work either before or afterwards. Killing artsd does not allow xmms to work either. There's also an error message (two actually) at KDE/artsd start-up that it cannot set real-time priority for the sound. Is this a problem? Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
still no sound
Hi all, After not being able to get sound to work under 4.8 with a Ensoniq sound card, I tried using a ESS Solo-1E card. Still no sound. (Though the keyboard beep still functions.) As I had said originally, this is all new to me so there may be something fundamental I'm doing wrong. I have already recompiled the kernel with PCM support, and made the SND0 devices. Zinf still does not give me music. Doing dmesg | grep pcm shows me ESS Solo-1E, (a bunch of port addresses) irq 10 at device 13.0 on pci0. I even double checked that the speakers give sound when connected to the output of another audio device. What else is there to look at? I'm not on the List presently so please CC me. Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: still no sound
Joe Marcus Clarke wrote: Try running mixer, and see if vol or pcm is set to 0. Sorry I neglected to mention that - I had already checked that at the previous advise from this List. It is set at 75:75 for each and when I set it to 100:100 it makes no difference. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
file picker
Hi All, I want to run a cron job to upload a different image file to a web site as a new background every night. I need a way to automatically select a different file from a directory which I will populate over time, and then feed that name to the upload script. I can't find anything like this in the ports. Can someone suggest a utility, script, et cetera, for this? Otherwise, I'm prepared to write my own, but I don't want to re-invent the wheel, as the saying goes. Thanks. Please CC me as I'm not currently subscribed to the List. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ipfw question
Hi all, I see a strange entry in my mail log from the ipfw log output. I don't really have a firm grasp on ipfw yet and need help understanding how this log entry came about (17 times), below: ipfw: 1700 Deny TCP 0.0.0.0:80 192.168.xxx.xxx:49339 in via fxp0 The output of ipfw list starts as: 00100 allow ip from any to any via lo0 00200 deny log logamount 100 ip from any to 127.0.0.0/8 00300 deny log logamount 100 ip from 192.168.1.0/24 to any in recv fxp0 00400 deny log logamount 100 ip from 24.170.166.0/24 to any in recv ep0 00500 deny log logamount 100 ip from any to 10.0.0.0/8 via fxp0 00600 deny log logamount 100 ip from any to 172.16.0.0/12 via fxp0 00700 deny log logamount 100 ip from any to 192.168.0.0/16 via fxp0 00800 deny log logamount 100 ip from any to 0.0.0.0/8 via fxp0 00900 deny log logamount 100 ip from any to 169.254.0.0/16 via fxp0 01000 deny log logamount 100 ip from any to 192.0.2.0/24 via fxp0 01100 deny log logamount 100 ip from any to 224.0.0.0/4 via fxp0 01200 deny log logamount 100 ip from any to 240.0.0.0/4 via fxp0 01300 divert 8668 ip from any to any via fxp0 01400 deny log logamount 100 ip from 10.0.0.0/8 to any via fxp0 01500 deny log logamount 100 ip from 172.16.0.0/12 to any via fxp0 01600 deny log logamount 100 ip from 192.168.0.0/16 to any via fxp0 01700 deny log logamount 100 ip from 0.0.0.0/8 to any via fxp0 01800 deny log logamount 100 ip from 169.254.0.0/16 to any via fxp0 01900 deny log logamount 100 ip from 192.0.2.0/24 to any via fxp0 02000 deny log logamount 100 ip from 224.0.0.0/4 to any via fxp0 02100 deny log logamount 100 ip from 240.0.0.0/4 to any via fxp0 remaining omitted My question is how come rule 00700 did not kick out the prober, rather falling to rule 01700?? I realize the log amounts are limited, but how did rule 01700 get activated when rule 00700, seems to me, should have knocked out the packet? Is this evidence of someone having broken into my FBSD router, as there are no other entries I've seen to other possible internal IP's, or was someone just lucky? Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
paths - a newbie question
After installing a port using pkg_add -r util, the only way I know to be able to type util at the command prompt to have it execute is either to reboot, or to make an alias for it by hand. Surely there's a better way. Is there a way to make the OS make a link auto-majically? Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
Mike Meyer wrote: In [EMAIL PROTECTED], Walter [EMAIL PROTECTED] typed: After installing a port using pkg_add -r util, the only way I know to be able to type util at the command prompt to have it execute is either to reboot, or to make an alias for it by hand. Surely there's a better way. Is there a way to make the OS make a link auto-majically? Thanks. This is your shell, not the OS. Without knowing which shell you are using, I can't say for sure, but you might try the rehash command. mike Beauty! Worked great. (It's the /bin/csh.) Maybe someone could add a note on this to the ports/packages section of the handbook?? Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
Maybe someone could add a note on this to the ports/packages section of the handbook?? Already in there: http://freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html It should be in the FAQ, also, although a quick search didn't turn up a section on rehash itself. (The section above has a note that shows this applies to zsh as well as csh/tcsh.) Tellyawhat: why don't you see if you can find a section on rehash in the FAQ. If you don't, submit a PR for it. -Warren Block * Rapid City, South Dakota USA I see it now under 4.5.2.1 Installing Ports from a CD-ROM - I skipped over that part because I do the over-the-internet installs. (And I had expected such a note to be in the Post-installation activities section.) My bad. Sorry. Rehash is noted in a New User tutorial, but I didn't know enough to search for rehash. I guess I'm at the point, as another suggested, where I need to buy a book and start reading. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mac can't connect to Internet
I pulled the 'nameserver' addresses from /etc/resolv.conf. That seems to fix it. Thanks! W. Tony M. wrote: It sounds like you don't have the DNS entries correct on the Mac. Make sure to set up your Name Server Entries in your tcp/ip control panel. Tony But, after several minutes I clicked to check my e-mail and got an error saying it could find the mail server. I went back to the newsgroup to now get a similar can't find the server error. I could still ping the world. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mac can't connect to Internet
Hi, I was wondering what the resolution was to this, as I (a *nix newbie) am trying to accomplish a very similar thing: OS 10.1 via hub to a Pentium running FBSD 4.6.2 to a cable-modem internet connection. I can't get past the FBSD box from the Mac though the FBSD box can see the internet just fine. (The firewall is disabled. And I can ping, telnet, FTP from the Mac to FBSD just fine.) Thanks. Walter Alex wrote: Friday, October 18, 2002, 6:31:35 PM, you wrote: snip I added a Powerbook, OS X, to the local network, configured /etc/hosts and /etc/resolv.conf. PB can ping the other boxes ok, but can't see the Internet. The other boxes can ping the PB ok. Looks like a firewall problem. If I connect the PB to the cable modem directly, the PB connects ok. snip Is the mac able to use the internet without the firewall? (Remove the firewall lines from rc.conf with '#' and try loading the GENERIC kernel at the kernel prompt). If so reboot and change the *deny/block/ect* line of the firewall and add the 'log' keyword(man ipfw to find out how to use this) to each of them. Check /var/log/security if you can see the mac being blocked by your firewall. (It will tell you what rule blocked your mac). I hope this is helpful, if not send me the output of 'ipfw s' and 'tail -n 100 /var/log/security' and i'll take a look. What am I doing wrong? Thanks. Michael Heyes To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Mac can't connect to Internet
I had actually tried it with the firewall enabled previously, but because that had not worked either, had disabled hoping it would work after (mis-?)reading a post here. But it seems now that I failed to recompile the kernel with IPFIREWALL and IPDIVERT, so I'll check back once that's done and tested. (Fwiw, the configuration I'm trying to implement is: Cable-Modem = FBSD = hub = Mac, PC, etc.) Walter David Kelly wrote: On Tuesday 22 October 2002 01:24 pm, Kevin Stevens wrote: Two things: - Is the FreeBSD box set to act as a router (packet forwarding on)? If another machine behind the BSD box can connect to the Internet it would answer that question. - Is the FreeBSD box set as the default router in the OS X box' settings? To which I'll add that it was not obvious in the original posting whether or not the FreeBSD system had two NICs or whether everything was connected to the hub/switch including cable modem. Walter said the firewall was disabled. So I'm guessing he is a long way from getting the Mac connected. Would be surprised if he has more than one IP address from his ISP (earthlink?), which would be required without NAT. And the firewall is needed to apply the divert rule to get NAT. In setting up my firewall I found this URL very handy: http://www.mostgraveconcern.com/freebsd/ Specifically is this one which I believe was the most help: http://www.mostgraveconcern.com/freebsd/ipfw.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
kernel optimization
I haven't yet found notes on optimizing the kernel by telling the compiler I have a Pentium rather than just a 386-compatible processor. I presume these lines in the kernel configuration file deal with this: machine i386 cpu I386_CPU cpu I486_CPU cpu I586_CPU cpu I686_CPU Q: Do I comment out the I386_CPU and I486_CPU lines to optimize for a Pentium, ( if not, how do I,) and Q: Does it make a significant difference? TIA. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
BBS
I see just a few BBS packages in the Ports area, is there one that considered best; or are there better solutions to offering simple user interfaces? Such as Apache+Perl scripts? Others? Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
4.6.2 spurious reboot, fwiw
As a newbie reading the e-mails in the forum, I'd like to mention that the log (from 'last') shows my FBSD 4.6.2 system rebooted a little after 2 last night. I had 'telnet'ed' in and had been playing some games but had logged off by 10:30 and didn't log in again until 7ish this morning. Fwiw, I'm very new to *nix and have been leaving the FBSD box on all the time, connected to the internet via cable-modem, with an open firewall, with telnet and ftp emabled. :-] So security is very low... I had also recently recompiled a I586_CPU build, among other changes. (Maybe this has bearing on the 4.7 is rebooting on its own posts, maybe not, but I'd thought I'd mention this, as the best hidden bugs are the ones that have been there for a while but only really manifest themselves later on.) Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 4.6.2 spurious reboot, fwiw
Matthew Seaman wrote: On Sat, Oct 26, 2002 at 08:56:58AM -0500, Walter wrote: .. my FBSD 4.6.2 system rebooted a little after 2 last night. Do you have a UPS? Sounds to me like you had a momentary dip in the mains voltage. PC's can be very sensitive to that sort of thing, and will reboot themselves when other equipment (clocks, radios, videos) just carry on reguardless. Yes, I do. So, I checked it by pulling its pull out of the wall (while the HD was not active, no log-ons, etc.). The computer stopped. It looks like my UPS battery is dead. A similar entry in the log appeared after reboot as appeared for 2 am. Good call. Of course, simply by running FreeBSD you've foxed 99% of the script kiddies and nasty-ware out in the wild. But that's no cause for complacency: any one fancy a dose of the Scalper worm? Cheers, Matthew Better securing my computer is in the plans, but after I reinstall FBSD after claiming the 600MB of the HD I left for DOS and dual-boot. After getting FBSD running, I can't think of a reason to hold onto DOS any more. Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
incorrect super block
Hi, I added a 3 GB HD to my FreeBSD computer (as a second drive). I used /stand/sysinstall to 'fdisk' and 'label' it. But when I try to mount it with 'mount /dev/ad3s1e /data' it complains of an incorrect super block. Any solutions? Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: incorrect super block
OK, Thanks. Fixed. It looks like I forgot to W (Write) the partiion edit when doing the label. Thanks and sorry for the bother. Matthew Seaman wrote: newfs /dev/ad3s1e When I do this it says the 'e' partition is unavailable What's the output from: disklabel -r ad3s1 There should be a line for the 'e' partition, and the fstype should be 4.2BSD tunefs -n enable /dev/ad3s1e mount -t ufs /dev/ad3s1e /data Cheers, Matthew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
HTTP access
Hi, Another newbie question, this time dealing with HTTP access from the world. I'm running apache on my FreeBSD computer, which is also my gateway. I can telnet FTP to it from my Mac on the local network and from an outside connection (the world). I can access it by http locally both through a local IP address and through the ISP-assigned IP (via DHCP). But I can't access it by http from the world. My neighbor's AOL account tells me it finds the server (my computer) but then times out. Any thoughts as to what's wrong? I'm using the OPEN firewall that comes with the GENERIC build. Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: HTTP access
Ty, At your suggestion that it was the ISP blocking port 80, I found the configuration line to enable Apache to listen on another port and added one, which now allows my neighbor's computer to access mine through http. Thanks for the pointer. I wonder if they'll eventually block this other port number also. I guess time will tell. Walter Ty Hoeffer wrote: It will probably require a call to their tech support. One thing you could try is trafshow. It will display incoming outgoing traffic, its port, the protocol being used, and the chars/sec invilved in the conversation. That or capture the traffic with Ethereal. Both of these apps are in the ports. Ty On Monday 04 November 2002 01:34 pm, you wrote: They may be. Do you know how can I tell for certain? It's cable-modem access, btw. Ty Hoeffer wrote: Is your ISP blockong PORT 80 Ty On Monday 04 November 2002 12:25 pm, Walter wrote: Hi, Another newbie question, this time dealing with HTTP access from the world. I'm running apache on my FreeBSD computer, which is also my gateway. I can telnet FTP to it from my Mac on the local network and from an outside connection (the world). I can access it by http locally both through a local IP address and through the ISP-assigned IP (via DHCP). But I can't access it by http from the world. My neighbor's AOL account tells me it finds the server (my computer) but then times out. Any thoughts as to what's wrong? I'm using the OPEN firewall that comes with the GENERIC build. Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FreeBSD filesystem 1TB Limit
This is no doubt heresy coming from a newbie especially, but I was reading that NetBSD can support at least up to 4TB: http://www.netbsd.org/Misc/features.html#large-filesystems Walter Lowell Gilbert wrote: Joseph Gleason [EMAIL PROTECTED] writes: IIRC There was a 1TB limit on the size of any filesystem (or actually of any block device) in FreeBSD based the kernel internaly using a 512 byte block size and having a max of 2^31 blocks. (512*2^31 = 2^40 = 1TB) Do I remember correctly? Close, but not quite. The kernel doesn't deal with blocks internally, and the block size used by the filesystem is 16k by default. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
can't load kernel on 386 system
I've installed a minimal+docs generic system on 500-somethingMB HD, and I'm trying to run it on a 386, 8Mb RAM computer. It fails at elf_loadexec: archsw.readin failed can't load module '/kernel': input/output error Because of the small HD, and the fact that the /var and the /tmp partitions never use over a few hundred blocks on my Pentium computer, I made them 32Mb each for the 386, but accepted the defaults for the / and the Swap partitions; the /usr partition got the remainder of the HD. Am I seeing a configuration error, a MB error, other? Any thoughts? Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: handling non-printable characters in file names
Nathan Kinkade wrote: On Wed, Feb 05, 2003 at 01:28:57PM -0500, Walter wrote: Leaving out the details, I need to know how to navigate directories and remove files that use non- printable characters in their names. du and ls show me they're there, but I can't figure out how to make cd work, or rm either. Fwiw, the non-printable char is \225. Lynx was not able to see the directory either, but maybe because it began with a . - I don't know. Generally, there are several things to try with difficult file names: 1) Try quoting the spuriously named files (try double and single) 2) Add a ./ in front of the filename 3) Try letting the shell expand the filename for you by typing the first few characters and then pressing the Tab key. 4) Trying escaping any unruly characters with a ``\ Thanks, Nathan. I had tried 1 and 4 but they didn't work (at least the way I did them). I don't have a shell that expands file names, but I'll try 2 if it happens again. (I've zapped it all by starting at the parent directory.) There's probably someone who can explain why non- printable characters are useful in file names, but I'd really rather disallow them altogether - if there's a build option or control flag to set. Anyone? Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
monochrome monitor
I have a monochrome monitor I'd like to plug in to a pentium-based FBSD router. This worked fine on the old 386 computer it came from, but now that the 386 is dead, I'd still like to use it over a color monitor. Pulling the VGA card and replacing it with the mono card and monitor does not work. Any thoughts? (I didn't find anything useful in the handbook or archives, but maybe I missed something.) TIA. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: monochrome monitor
Daxbert wrote: I have a monochrome monitor I'd like to plug in to a pentium-based FBSD router. Does your system's bios support older video? Video selection is normally found on the first bios setup page. Thanks. I put back the VGA monitor card and checked. On the BIOS set-up page it shows the display type as VGA/CGA but stippled out, as it also stipples out the amount of memory. There are other video related memory settings to be played with, but I'm guessing monochrome is not an option. True?? Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: monochrome monitor
Dax Eckenberg wrote: Daxbert wrote: I have a monochrome monitor I'd like to plug in to a pentium-based FBSD router. Does your system's bios support older video? Video selection is normally found on the first bios setup page. Thanks. I put back the VGA monitor card and checked. On the BIOS set-up page it shows the display type as VGA/CGA but stippled out, as it also stipples out the amount of memory. There are other video related memory settings to be played with, but I'm guessing monochrome is not an option. True?? Well, I just remember from the old days being able to choose between VGA, CGA, MGA??. Where MGA usually referred to a Hercules or other monochome adapter. The stippling (sp?) may be due to the BIOS auto-detecting the video type. It may very well detect Mono/MGA/something when the monochome card is installed. So, does your host boot, just without video suport? Or does it sit there and beep at you as if there was no video card installed? It booted and ran fine with only the mono card in there, just no video. With both cards now, the VGA works and still no mono. (Before today I only had the VGA in.) I'm guessing either the BIOS does not handle mono, or maybe just this mono card. Thanks for your help so far and whatever other things you might suggest to look at, but it seems like a dead end at the moment. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: monochrome monitor
Dax Eckenberg wrote: Dax Eckenberg wrote: Daxbert wrote: I have a monochrome monitor I'd like to plug in to a pentium-based FBSD router. Does your system's bios support older video? Video selection is normally found on the first bios setup page. Thanks. I put back the VGA monitor card and checked. On the BIOS set-up page it shows the display type as VGA/CGA but stippled out, as it also stipples out the amount of memory. There are other video related memory settings to be played with, but I'm guessing monochrome is not an option. True?? Well, I just remember from the old days being able to choose between VGA, CGA, MGA??. Where MGA usually referred to a Hercules or other monochome adapter. The stippling (sp?) may be due to the BIOS auto-detecting the video type. It may very well detect Mono/MGA/something when the monochome card is installed. So, does your host boot, just without video suport? Or does it sit there and beep at you as if there was no video card installed? It booted and ran fine with only the mono card in there, just no video. With both cards now, the VGA works and still no mono. (Before today I only had the VGA in.) I'm guessing either the BIOS does not handle mono, or maybe just this mono card. Thanks for your help so far and whatever other things you might suggest to look at, but it seems like a dead end at the moment. Walter I would suggest that you change your boot loader to use the serial console as default. You'll still miss all of the BIOS POST information which is being delivered to the non-working mono video, but at least you'll get everything after the initial boot blocks are read. That's presuming you have another host / dumb terminal to connect to the serial port. I don't know how to configure a serial console, but that doesn't matter since I don't have one of those. Thanks anyway. I'll keep an eye out for one at the local used PC store, and for now just live with the present monitor. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: monochrome monitor
I have no manual for this (used) Acer Pentium 120. The Acer web site does not appear to have schematics or other MB information (that I could find). And looking at the MB I see nothing that leads me (a non-tech) to think there's a VGA/MGA selector. Anything particular writing or abbreviations I might look for? (Good thought.) James Long wrote: On Fri, Feb 07, 2003 at 01:10:09PM -0500, Walter wrote: I'm guessing either the BIOS does not handle mono, or maybe just this mono card. Long, long, ago, motherboards had a jumper on them, with one position for monochrome, and another position for everything else. Either I missed it, or you didn't say what motherboard you are using, but you might take a close look both at the docs and the board itself to see if there is such a jumper on yours. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Memory disk
Steve Bertrand wrote: The reason for this is so I can make my boxes much smaller and much faster (no hdd i/o). 1. Is it possible to do a custom r/o install of Free onto a CD? 2. Is it possible to run FreeBSd out of memory with no hdd? This is a novice wondering out loud: To keep things small, is it possible to use the new memory cards (for digital cameras) instead of a hard drive? The capacity on those is getting pretty large. Then you could drop even the CD. (I hoping to see them completely replace floppies, even as a boot device, some day.) Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: monochrome monitor
Doug Reynolds wrote: On Fri, 07 Feb 2003 20:05:46 -0500, Walter wrote: I have no manual for this (used) Acer Pentium 120. The Acer web site does not appear to have schematics or other MB information (that I could find). And looking at the MB I see nothing that leads me (a non-tech) to think there's a VGA/MGA selector. Anything particular writing or abbreviations I might look for? (Good thought.) sometimes they say vid video vga/mono color/mono but since it is a brand name that has been mass produced (ie designed to log into AOL and play solitare), it probably doesn't have one, or it is labeled something obscure like JP34 or something like that. :( Nothing like that I saw on the Acer.. BUT! I also have an (old) HP 486, and on its MB there's a VGADIS set of pins. So moving the jumper over allowed the monochrome monitor to work (disabled the VGA)! THANKS!! Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
allowing access to a single directory
Hi all, I want to allow an anonymous FTP user to see a directory in another slice, so I put a symbolic link to it. But then anyone could access my entire file system by appending combinations of ../ to a path name; e.g. ls share/../. Is there a way to stop this by only allowing access to the linked directory and nothing more? Thanks in advance. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: allowing access to a single directory
Giorgos Keramidas wrote: On 2003-02-16 09:30, Walter [EMAIL PROTECTED] wrote: I want to allow an anonymous FTP user to see a directory in another slice, so I put a symbolic link to it. But then anyone could access my entire file system by appending combinations of ../ to a path name; e.g. ls share/../. Is there a way to stop this by only allowing access to the linked directory and nothing more? Symlinks in anonymous FTP don't work, since anonymous ftp sessions are chrooted in the home directory of the `ftp' user. You should probably move the files in ~ftp/stuff and then symlink to ~ftp/stuff from other parts of your tree. The /var slice does not have enough space to hold these files. So it sounds like I need to find another solution (like move in another HD). Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: allowing access to a single directory
Bill Moran wrote: Walter wrote: Giorgos Keramidas wrote: On 2003-02-16 09:30, Walter [EMAIL PROTECTED] wrote: I want to allow an anonymous FTP user to see a directory in another slice, so I put a symbolic link to it. But then anyone could access my entire file system by appending combinations of ../ to a path name; e.g. ls share/../. Is there a way to stop this by only allowing access to the linked directory and nothing more? Symlinks in anonymous FTP don't work, since anonymous ftp sessions are chrooted in the home directory of the `ftp' user. You should probably move the files in ~ftp/stuff and then symlink to ~ftp/stuff from other parts of your tree. The /var slice does not have enough space to hold these files. So it sounds like I need to find another solution (like move in another HD). Thanks. You could always move the FTP directory to a slice that has room. Yes, I actually thought of that, but then I'd leave my (in this case) /usr slice vulnerable to being filled-up with ... junk. Unless I put in quotas, I suppose. Hmmm. I'll think on that; but I also have an HD which I'm not really using. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
anon ftp
Someone previously posted this URL in response to a question on anonymous FTP: http://www.freebsddiary.org/ftp-anonymous.php But the article requires SUIDDIR which is warned as being a potential security risk. Is this a big concern? It also outlines a way to prevent uploads from being downloaded - I do not necessarily want to go this far. What I'd really like to do is to allow the current/actual uploader to do anything to his uploaded files and directories, but to allow only downloading by all other anonymous FTP users (including himself on another connection). I see I can set various flags on ftpd to disallow uploading and downloading for anon users altogether, but that's not my goal. Anyone? Thanks. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
MPI / IPC / Sockets / et cetera
Hi all, I'm looking for a messaging, IPC, whatever library to allow live and delayed messaging from one computer program to another, on the same or on different machines, whatever. Rather than re-invent the wheel, I went looking at the ports and saw this: mpich-1.2.4_1. Is this all? (It seemed awfully complex for my tastes.) I have no *need* per se, but wanted to play around with sending data between one computer and another, with different programs / packets; sending any kind of data (not just text). (Sorry I can't be precise.) Can anyone suggest a package / port to study or adopt? Thank you in advance. Walter To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FreeBSD 4.5 and 5.2.1
I have both of the above mentioned versions. For some reason or other, neither one will get past the part of the installation where they probe for hardware. I've let both versions get after it for over 2 hours, and they're still probing for hardware. Any suggestions as to what I should be doing to not have this happen? The machine I'm trying this on has an AMD Duron CPU running at just over 1 Gig. Any info would be appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Setting firewall symbolic constants
In the example firewall rule set in rc.firewall, there are the following lines: # set these to your outside interface network oif=$firewall_simple_oif onet=$firewall_simple_onet # set these to your inside interface network iif=$firewall_simple_iif inet=$firewall_simple_inet Can these be set by the system automatically? Specifically $firewall_simple_onet? When the IP changes on the ISP's side, I'd like to have this detected and updated in the rules without my manual intervention. Do I need to write a utility and run in crontab? Or is there a better way? I'm off-list, so please reply directly to this e-mail addy. TIA. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Setting firewall symbolic constants
Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can these be set by the system automatically? Specifically $firewall_simple_onet? If you switch to using PF rather than IPFW, this is very easy. In a PF ruleset, the name of an interface is expanded to a list of all of the IP numbers configured on it. So you'll frequently see rules like this: ext_if = de0 [...] pass log on $ext_if proto tcp \ from any to any port smtp \ flags S/SA keep state You can also say $ext_if:network to mean the locally attached network on that inerface. Works with both IPv4 and IPv6. One important wrnkle -- normally the resolution from interface name to IP number happens just once, when the rules are initially loaded. If your interface has a dynamic address, simple enclose the i/f name in brackets, like so: ($ext_if) This causes PF to update the mapping as the IP number changes. It's less efficient, which is why it isn't usually done for a machine with fixed addresses, but that won't cause you any problems for typical DSL or even Cable speeds. Cheers, Matthew Thanks, that's good to know, but I think I'll still plunge along to work a solution for ipfw; it seems to be the default. And along the way I can detect and assign both interfaces and addresses automatically so I can make it work magically (crosses fingers) on computers with different cards without me having to configure them. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Setting firewall symbolic constants
Bob Hall wrote: I use onet=`ifconfig rl0 | grep inet | awk '{print $6}'` where rl0 is the outward facing NIC on this gateway. Thanks. But I think I like a method which allows me to get the device names also, to allow a 'hands-off' configuring of the fw. I'll keep your code for future reference, tho. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ftp giving url but i want the IP address
I want to parse ftp error messages in auth.log and use the ip address in inserting a block into ipfw. It works, except when ftpd spits out the host-specific url rather than the ip. Adding -h to the ftpd command in inet.conf didn't help. Can someone tell me how to do this, or point me to code (C) to convert it? Thanks. I'm off-list so please reply directly. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ftp giving url but i want the IP address
Greg Larkin wrote: Hi Walter, Did you send a HUP signal to inetd so it rereads the config file? kill -HUP `cat /var/run/inetd.pid` Hope that helps, Greg I actually rebooted (after a boo-boo). So, Yes, inetd was restarted. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ftp giving url but i want the IP address
On 4/5/10 10:08 AM -0500, Walter wrote: Walter, I do some similar sounding things for my gateway just to keep the logs from filling up with attack drivel. But it's not quite the same problem as your question, so I don't do what I'm about to recommend - it's more complex, involving several formats, IPv4 and IPv6. If, by host-specific url you mean the name associated with the IP address, you should be able to get the IP address by using the host command. host xxx does the trick. Thanks. But another user has suggested a ready-built package, which I'll look into before coding it to work in my program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ftp giving url but i want the IP address
Greg Larkin wrote: Instead of standard ftpd, give lukemftpd a try. I tested it briefly, and failures are reported like so: : FTP LOGIN FAILED FROM 192.168.xxx.yyy Finally, instead of writing your own parsing script, sshguard monitors your FTP logs, SSH logs and other services that you want to protect with pf auto-blocking: http://www.freshports.org/security/sshguard/ Hope that helps, Greg sshguard sounds like what I'm building! Their's isn't as simple as mine is, but that's natural for a mature product. I'll give it a look and maybe pick it up. Thanks! Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
host dig
A previous question to the List on how to get an IP address from a host speicific URL yielded the helpful responses of host and dig. These (seemed to) work fine. Well, just now I got a chance to try it out on a tiny server I have at someone else's house, and on another network. I used telnet to connect to 68.204.xxx.xxx it tells me I've connected to xxx.xxx.204.68.cfl.res.rr.com. (backwards, right?), then I log in. After user/pass entry, it says connected from user-yyy.cab (replaced seemingly random name with yyy in case it's not transient) My external IP here is 24.110.nnn.nnn The issue: When I use either host or dig to give me the IP address from user-yyy.cab, they tell me: 208.68.zzz.zzz (Ping gives the same.) So, I'm still at a loss, I think, to know the originating IP. Should a firewall rule blocking 208.68.zzz.zzz actually operate against 24.110.nnn.nnn? I'd STILL like to know the true source IP to be able to connect back to it. TIA. Again, please respond directly to me (as well as to the List) because I'm not subscribed. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: host dig
Adam Vande More wrote: I used telnet to connect to 68.204.xxx.xxx it tells me I've connected to [1]xxx.xxx.204.68.cfl.res.rr.com. (backwards, right?), then I log in. No, you have to a connection before you login. You want to *strongly* consider using ssh instead of telnet. You may also be referring the format of the DNS query result which known as [2]http://en.wikipedia.org/wiki/Reverse_DNS_lookup I DID have a connection. ??? Maybe I gave too much detail, but the point is that the IP yielded by host/dig did not match what whatismyip.com gave here. I'd like to know why. After user/pass entry, it says connected from user-yyy.cab (replaced seemingly random name with yyy in case it's not transient) My external IP here is 24.110.nnn.nnn The issue: When I use either host or dig to give me the IP address from user-yyy.cab, they tell me: 208.68.zzz.zzz (Ping gives the same.) So, I'm still at a loss, I think, to know the originating IP. Should a firewall rule blocking 208.68.zzz.zzz actually operate against 24.110.nnn.nnn? I don't understand the question, what is the rule? I'd STILL like to know the true source IP to be able to connect back to it. man sockstat man netstat Thanks. Did that: netstat -n gives the correct IP. sockstat does also. I couldn't find anything in the host or dig man pages that indicated to me that they could be made to yield the proper 24.110.*.* IP address. About the rule::: I was just mentioning one of the reasons I want the IP address is so I can monitor multiple bad login attempts to block the troublesome IP with a firewall rule. I ALSO would like the correct IP for another purpose (project), that involves connecting back to the source IP. I will give a try to find out which IP address the ipfw firewall operates on - the 208.68.*.* one or the 24.110.*.* one. It's not obvious which at this point to me. Thanks. Walter References 1. http://xxx.xxx.204.68.cfl.res.rr.com/ 2. http://en.wikipedia.org/wiki/Reverse_DNS_lookup ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ftp access but no log
Hi again, I just by chance noticed today that someone was accessing my ftp server. No big deal, except that I did not see any log of it via last which usually shows these things. I could see a record in /var/log/xferlog, however. Did someone break in? Should I worry? Thanks. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
troubles with ftp access via browser
Hi, I've placed some files on a FBSD 6.2 server using the standard ftpd to access them. The content in question is a video clip, but could be anything that I wanted to share with people unknown. I can access the file list with a browser on my internal network - I do this to check that my links are good. But I (or anyone else) can't access these files externally with a browser, but I can access them with ftp itself. Even if I force a 'ftp' (for anon access) login via the browser URL, it stalls. I thought this had worked at one time... (Trembles with uneasy expectation) Here's the URL: ftp://72.40.22.156/incoming/ for anyone who wants to look at it. On a side note, I see lots of rejected log-in attempts in the logs from sites trying to do ftp access with Administrator. Is there an easy way to allow that? TIA. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Buffalo/Broadcom wireless N card
I'm trying to compile support for a wireless router into FBSD 7 using instructions off a FBSD help page I can't locate just now. (I'm working on building a network bridge.) [EMAIL PROTECTED]:0:10:0:class=0x028000 card=0x03531154 chip=0x432914e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM43XNG 802.11n Network Adapter' class = network When it boots in the machine which has the card (I compiled on another computer) it blows out with a kernel error (writing not a non-existent page, I think) when the device shows up. It shows as device bge0 but identified as BCM 5701 (iirc). Can someone point me in the right direction? Has anyone gotten this card to work? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Does FBSD 7 support 802.11N cards? G suggestions?
I'm trying to get a Broadcom-based wireless-N card running under FBSD 7. I was told elsewhere that the BSD's do not generally yet have drivers yet for the N technology but that a mwl driver is under development in current. I don't know where to find that. ?? If N isn't supported, is there any problem anyone knows about with the LevelOne WNC0301 or with LinkSys WMP54G cards? CircuitCity has the LevelOne for $25 and the WMP54G for $39. Can someone advise me? Thanks. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does FBSD 7 support 802.11N cards? G suggestions?
(Sorry Roland; re-sending after I noticed my reply went directly to you rather than the List.) Roland Smith wrote: On Wed, May 14, 2008 at 12:23:44PM -0500, Walter wrote: I'm trying to get a Broadcom-based wireless-N card running under FBSD 7. ... See Chapter 20 of the FreeBSD handbook, especially §20.2. 20 is The Vinum Volume Manager http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html. Did you mean 29 Advanced Networking http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/advanced-networking.html, and 29.3 Wireless Networking http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html? Or http://www.freebsd.org/releases/7.0R/hardware.html#ETHERNET If N isn't supported, is there any problem anyone knows about with the LevelOne WNC0301 or with LinkSys WMP54G cards? CircuitCity has the LevelOne for $25 and the WMP54G for $39. Can someone advise me? The problem is that a lot of wireless manufacturers have the habit of changing wireless chipsets without changing model numbers. So a revision X might work while revision Y won't. Try and look at the card. Sometimes the chipset is visible and you can look for it in the manual pages. But often it is enclosed in a metal cover. In my experience, asking shop clerks which chipset a card uses only produces puzzled looks. Second best thing is to download the driver for the revision of the card that you want to buy. Unpack the driver and read the .inf files. That will probably yield the chipset type. If not, use strings(1) on the drivers themselves. Roland It's a crap shoot? Yikes. I guess I'll just pick one and take my chances, but - no fault to FBSD - it appears to be a sorry state of affairs in the computer driver arena. I can guess the latest rev listed on the support web site is what I'll get when I buy the box?? (Maybe not, as I got a rev A router last December when the latest was rev B.) Later I'll work on getting the driver downloaded and unpacked on my Windows machine (as my Mac won't process those .exe files). Did I read that there's a way to use Windows drivers in FBSD 7? There are places I can download those for XP/Vista, so if I could use those - even if they're not the optimal solution - it'll get me going. Thanks for your reply. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does FBSD 7 support 802.11N cards? G suggestions?
Gerard wrote: I have done something similar to that myself. Go to the linksys site and download the latest available driver for your card. Then visit: http://www.freebsd.org/doc/en/books/handbook/config-network-setup.html and follow the directions there. I found the direction at 11.8.1 helpful, and was able to use /ndisgen/ and /kldload/ to bring up the card. (Yea!) Now I need to configure it - I'm printing out 29.3 now. But I can't get the interface to be brought up at boot, a la: You can configure the system to load the NDIS modules at boot time in the same way as with any other module. First, copy the generated module, W32DRIVER.ko, to the /boot/modules directory. Then, add the following line to /boot/loader.conf: W32DRIVER_load=YES but I can bring it up manually from the modules directory. Can anyone tell me what's wrong? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does FBSD 7 support 802.11N cards? G suggestions?
Gerard wrote: On Thu, 15 May 2008 11:39:08 -0500 Walter [EMAIL PROTECTED] wrote:I found the direction at 11.8.1 helpful, and was able to use /ndisgen/ and /kldload/ to bring up the card. (Yea!) Now I need to configure it - I'm printing out 29.3 now. But I can't get the interface to be brought up at boot, a la: You can configure the system to load the NDIS modules at boot time in the same way as with any other module. First, copy the generated module, W32DRIVER.ko, to the /boot/modules directory. Then, add the following line to /boot/loader.conf: W32DRIVER_load=YES but I can bring it up manually from the modules directory. Can anyone tell me what's wrong? Have you checked user/group ownership? I think it has to be root/wheel. It should also be executable, 0755 if I remember correctly. Are there any warning or error messages displayed at boot-up that might indicate what is happening? Sorry for not checking that this made it to the List. I had replied to myself and the reply didn't go to Question... I had a typo... And, actually, it seems to work now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Does FBSD 7 support 802.11N cards? G suggestions?
Doh!! Did it again. Sorry about that Roland. Roland Smith wrote: On Thu, May 15, 2008 at 06:54:53AM -0500, Walter wrote: I'm talking about The Cutting Edge http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html It's a crap shoot? That's about the size of it. Yikes. Indeed. I guess I'll just pick one and take my chances, but - no fault to FBSD - it appears to be a sorry state of affairs in the computer driver arena. More and more chipsets are being supported on BSD, with OpenBSD leading the way. But it remains difficult to see which chipset is used in a card. Manufacturers hardly ever list it in their docs. I can guess the latest rev listed on the support web site is what I'll get when I buy the box?? (Maybe not, as I got a rev A router last December when the latest was rev B.) Usually there is a sticker on the packaging that says model FOO rev. X. or something like that. Later I'll work on getting the driver downloaded and unpacked on my Windows machine (as my Mac won't process those .exe files). You could try unzip. Some of those exe files are self-extracting ZIP ziles. Did I read that there's a way to use Windows drivers in FBSD 7? Yes. It's called ndis(4). Only works on i386 architecture though, not amd64. Do realize that you're sticking a piece of windows software of unknown quality in your _kernel_. Roland Thanks, Roland. I ended up using ndis and after a little hunting around for instructions I got WPA running so it connects to my COTS wireless router from the FBSD7 machine with the Buffalo 'BCM43XNG 802.11n Network Adapter'. Not too much trouble, really, once you figure out what to do. I'll reply to my original post asking for help on that card (which got no replies). I will be using the machine mainly for a router so I don't mind - I hope I don't regret saying this - that a Windows driver is in the kernel. Thanks. I appreciate the responses, which keep me on track and help me know I'm not crazy. (Well, maybe just a little bit.) Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Buffalo/Broadcom wireless N card
Walter wrote: I'm trying to compile support for a wireless router into FBSD 7 using instructions off a FBSD help page I can't locate just now. (I'm working on building a network bridge.) [EMAIL PROTECTED]:0:10:0:class=0x028000 card=0x03531154 chip=0x432914e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM43XNG 802.11n Network Adapter' class = network When it boots in the machine which has the card (I compiled on another computer) it blows out with a kernel error (writing not a non-existent page, I think) when the device shows up. It shows as device bge0 but identified as BCM 5701 (iirc). Can someone point me in the right direction? Has anyone gotten this card to work? With help from the List I got this to work: The answer, maybe not the BEST answer, but the answer that works, is to use the Windows XP driver and FBSD's 'ndis'. My goal was to build a FBSD router with wireless access to my COTS wireless router to provide network access in another part of the house. Get the driver files (.sys .inf) either from the CD that came with the card or from the Buffalo web site: http://www.buffalotech.com/support/downloads/ Then, per instructions from the Handbook (11.8.2) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html run 'ndisgen' on the driver files: # ndisgen netg300n.inf cbg300n.sys A .ko file will be generated: cbg300n_sys.ko. It can be loaded using 'kldload ./cbg300n_sys.ko' but I wanted it loaded at boot. So, as 11.8.2 says, copy this file to /boot/modules and add the following line to /boot/loader.conf: cbg300n_sys_load=YES Also, as I wanted WPA encryption, I added two other lines to loader.conf: wlan_ccmp_load=YES wlan_tkip_load=YES The wireless setup instructions are in the handbook section 29; http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html Then in /etc/rc.conf add this: ifconfig_ndis0=WPA DHCP The device 'ndis0' is created by the ndis driver when it handles a Windows driver. I guess if you have more than one Windows device and driver you get to sort out the various ndis0/1/2/3/4/5/etc. If you don't want WPA just use DHCP and you don't need the two extra lines above in loader.conf. For WPA you need to create the WPA config file: /etc/wpa_supplicant.conf: network={ ssid=your wireless network name psk=your personal access key } Somehow, it all magically started working. (No doubt due to the hard work of many FBSD coders.) I hope I didn't leave out any major part. I'm posting this not only so other can benefit if they run into a similar problem, but in case this box burns (HD fails) I'll have a record of what I did to recreate it. g Thank you again to those that helped. Walter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PWS 600au / Matrox G450 / XFree86-4.3.0 (fwd)
On Sun, May 30, 2004 at 04:11:07PM +0200, Marco Beishuizen wrote: On stardate Sun, 30 May 2004, the wise Jean-Francois Gobin entered: Also, it seems to me that you've got two cards in your system. What about a small pciconf ? JF No I have only one card in it. Pciconf -l says the Matrox has BusID 1:0:0. I might make a difference if you put the card in a slot on bus 0. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I access a USB device that has no driver attached?
On Thu, Jun 03, 2004 at 06:22:54PM -0700, Darren Pilgrim wrote: I have a UPS with a USB interface. There isn't a specific UPS driver in FreeBSD beyond uhid. If I were to connect the UPS's interface port without having a driver attached, is it still possible to talk to the device in some way? I ask because I'm helping get nut (sysutils/nut) working for USB UPSes under FreeBSD. Maybe your question is outdated, but since noone answered yet. - You can enhance our uhid driver - You can write your own driver - You can do raw control transfers via /dev/usb* - You can also do raw control and pipe trandfers if ugen takes the device - You can use libusb for portable (Linux, ...) device access via ugen -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: COM ports
On Thu, Sep 11, 2003 at 09:29:44AM -0700, Claudiu Bichir wrote: Hy folks ! I have FreeBSD 5.0 installed on my computer and I wanted to know how can I enable the COM3 COM4 ports. The ports are disabled by default in 5.0. I tried to modify /boot/device.hints but with no hope . I commented hint.sio.2.disabled=1 and hint.sio.3.disabled=1 out but when I rebooted it said smt like irq 5 not in bitmap of probed irqs 0 ;port may not be enabled; the same goes for sio3(but with 9 instead of 5) .I'm just starting so ... don't know what to do anymore. I already read the handbook and the sio(4) manual page but I haven't found something helpfull yet. I'm asking all this because I have an Aztech UM9800 external modem which's on COM3(at least that's what Windows shows )and I cannot change its COM port to 1 or 2 . It is recognized as ugen0 when the system boots. It is an usb modem but I was told by people on this list that I can use it with FreeBSD. If I can then I would appreciate any help from you on how to set it up. Thanks people ! The sio driver is not for usb devices. Build a kernel with umodem/ucom if your modem is really a modem and not one of those softmodem things. In the later case there is almost no hope to get it working - and it's not really worth it IMHO. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to read CF card via USB with umass on 4.7-STABLE?
On Fri, Sep 12, 2003 at 06:52:13PM -0400, Chris Shenton wrote: I have an old digital camera which has a 64MB CF card in it. A friend loaned me a USB card reader to extract the images. I don't seem to be able to mount it on FreeBSD-4.7-STABLE per the umass man page. After plugging in the card and USB reader, dmesg shows: umass0: PQI Travel Flash, rev 1.10/2.05, addr 2 da1 at umass-sim0 bus 0 target 0 lun 0 da1: General Flash Disk Drive 2.05 Removable Direct Access SCSI-2 device da1: 650KB/s transfers da1: 62MB (126976 512 byte sectors: 64H 32S/T 62C) Looks good. The man page says: camcontrol rescan 0 Rescan a Zip drive that was added after boot. The command above assumes that the Zip drive is the first SCSI bus in the system. disklabel -w -r da0 zip100 newfs da0c mount -t ufs /dev/da0c /mnt I do the camcontrol and it appears to see it: thanatos# camcontrol rescan 0 Re-scan of bus 0 was successful thanatos# camcontrol devlist -v scbus0 on ahc0 bus 0: SEAGATE ST19171W 0024at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target -1 lun -1 () scbus1 on umass-sim0 bus 0: General Flash Disk Drive 2.05at scbus1 target 0 lun 0 (da1,pass1) scbus-1 on xpt0 bus 0: at scbus-1 target -1 lun -1 (xpt0) Not need to do this as the device is already working. I skip the disklabel and newfs since I've got photos on it already. Attempts to mount fail: thanatos# mount -t ufs /dev/da1c /mnt mount: /dev/da1c on /mnt: incorrect super block thanatos# mount -t msdos /dev/da1c /mnt msdos: /dev/da1c: Invalid argument Any clues? Thanks. A photo disk is most likely not ufs - it's msdosfs. msdosfs is not is normaly not used on the whole device (exeptions are floppies), so you want using the correct slice. E.g. mount -t msdos /dev/da1s1 /mnt -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to read CF card via USB with umass on 4.7-STABLE?
On Sun, Sep 14, 2003 at 07:46:23PM -0400, Chris Shenton wrote: Bernd Walter [EMAIL PROTECTED] writes: A photo disk is most likely not ufs - it's msdosfs. msdosfs is not is normaly not used on the whole device (exeptions are floppies), so you want using the correct slice. E.g. mount -t msdos /dev/da1s1 /mnt Yeah, I tried msdos as well (man page is wrong specifying ufs), still no joy. I was able to mount it on my 5.1 system so I'm happy now :-) Thanks! mount -t msdos /dev/da1s1 /mnt is the way to go for normal msdosfs media as used in cameras. If it doesn't work you should give the exact error messages from mount and kernel. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Multiple USB ethernet devices on one usb port (with hub)?
On Sat, Sep 27, 2003 at 10:34:04AM -0700, Andrew Thomas wrote: --- Ian Dowse [EMAIL PROTECTED] wrote: There is definitely one problem that stops you from using two identical USB ethernet devices, but I don't know if it's the only one: the axe driver uses a static (global) stucture for some per-interface data, so it clobbers this state with two interfaces. I had said to Bill Paul (cc'd) that I would suggest a patch to fix this, but I never managed to get my two USB ethernet interfaces in the same place at the same time to test them! Would you be able to try out the following patch to see if it helps? Just apply it in /usr/src and rebuild the kernel. To follow up on this... I tried Ian's changes to no avail. I applied the patches and rebuilt the kernel. Upon rebooting with both netgear fa120 ethernet devices attached (with the new axe driver), both devices are recognized, one is configured and nothing works (i.e., in spite of the one device being configured, it is dead). You might take power consumption into acount. If your hub is not powered it can't supply more then 100mA per port. check the required consumption of your ethernet devices with usbdevs -v. In case they require more then 100mA you *must* use a self powered hub. Many cheap hub lie about their power state, but that doesn't change the requirements at all. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: UFTDI serial port
On Fri, Sep 26, 2003 at 09:20:12AM +0100, Christopher Ward wrote: Can someone tell me if a UFTDI based serial port still uses /dev/cuaa0 or does it have a different device? And if so what is the ttyd equivalent as well. It uses /dev/ucom* as all USB based serials. There is no ttyd equivalent, but you should be able to setup a getty at /dev/ucom*. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to mount USB drive in FreeBSD 5.0?
On Mon, Sep 29, 2003 at 06:13:23AM +, Frank Lee wrote: Since it stops at the umass0: Get Max Lun not supported (STALLED) message, there's no /dev/da0* : Your drive needs at least a NO_GETMAXLUN quirk in umass.c Sigh - why do so many vendors think that specs can be ignored :( -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl serial port access
On Fri, Oct 17, 2003 at 02:01:50PM +0200, Perica Veljanovski wrote: Hi, What is the name of the /dev for the serial port in FreeBSD. dmesg says there are sio0 and sio1 but there are no such file names in /dev. And the sio(4) manpage says: FILES /dev/ttyd? for callin ports /dev/ttyid? /dev/ttyld? corresponding callin initial-state and lock-state devices /dev/cuaa? for callout ports /dev/cuaia? /dev/cuala? corresponding callout initial-state and lock-state devices -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb-serial adapter doesnt work
On Wed, Mar 10, 2004 at 08:22:30PM +, Macio Plona wrote: Hello, Ive got laptop Toshiba Satellite A20-s103. There are no comms port, but 3 USBs. I need get to console to some server, so i purchased an USB-RS232 adapter. My system recognized it, but i cant `cu` or `tip` to any machine... :( Could somebody help me make it work? Part of `dmesg`: ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev 1.10/ 2.02, addr 2 ohci0: NEC uPD 9210 USB controller mem 0xf7efc000-0xf7efcfff irq 11 at device 12.0 on pci0 usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: NEC uPD 9210 USB controller on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), It's attached to ugen instead of uplcom/ucom On a hardware notes ive read, that it needs a 'uplcom' driver, so i loaded it to kernel: root# kldstat Id Refs AddressSize Name 16 0xc010 3516a0 kernel 21 0xc1e4a000 7000 linprocfs.ko 31 0xc1ec 3000 daemon_saver.ko 41 0xc1ec3000 15000linux.ko 51 0xc204c000 3000 uplcom.ko 61 0xc205 4000 ucom.ko You need the drivers loaded _befor_ attaching the device. Otherwise ugen take care of it and uplcom has no chance to take over. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [5.2.1] trouble with an USB key
On Wed, Mar 10, 2004 at 08:45:29PM +0100, Jacques Beigbeder wrote: On a FreeBSD 5.2.1, I have an *OLD* USB disk which works: [ ... ] kernel: vendor 0x0c45 USB Mass Storage Device, rev 1.10/1.00, addr 2 [ ... ] [ ... ] kernel: da2: 31MB (64000 512 byte sectors: 64H 32S/T 31C) Another one fails: [ ... ] umass0: Kingston DataTraveler2.0, rev 2.00/2.00, addr 2 No da2 appears... No error message apperas in your mail too. Is it because this second USB disk is USB2? Unlikely - USB2 is just a revision. If it's a high speed device (which most intermix with being USB2 because USB2 introduced high speed) then the device may not work with a full speed capable controller. But in your case it already said to be umass compliant so that's not an issue. Is there any way to use it? Is there any more debug output? If not then add USB_DEBUG to your kernel and repeat. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: looking for usb printer/scanner combo
On Tue, Mar 16, 2004 at 08:41:50PM +0100, Tobias Roth wrote: hi i am looking for a color inkjet printer/scanner/copier combo. it should be cheap, supported under 5.2.1, rather small, have separate, cheaply available ink cartridges. it doesn't need to be fast or have any fancy features. price comes first, then quality. can someone recommend a model that won't give me any trouble? Currently FreeBSD doesn't support any of those combos sufficiently. That is because uscanner always claims the whole device instead of just the scanner function so ulpt can't take the printing part. You can detach, kldunload uscanner, reattach for printing, but this is not very practical. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Mar 22, 2004 at 02:09:01PM +0100, Peter Schuller wrote: So - if I want a USB 2 controller that works fine with FreeBSD, which one shojuld I get / which chipset should it be using? To be more specific I found a controllre by Q-Tec (425U) wtih a Via VT6202 chipset. Anyone know if this will work? NEC Controllers are known to work. Never tested any of the VIA ones. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Enabling USB ports for...stuff/printing...
On Tue, Mar 23, 2004 at 08:31:28AM -0500, [EMAIL PROTECTED] wrote: Running 4.9-STABLE, CUPS 1.1.19 and I'm trying to get an Epson Photo Stylus 1270 (usb) working with the system and CUPS. So far, no luck. I've walked through the setup for CUPS via http://127.0.0.1:631/. I'm at a loss to figure this out. What am I missing? Here's what I have. % ls /dev/ulpt* crw--- 1 root wheel 113, 0 Mar 23 08:16 /dev/ulpt0 crw--- 1 root wheel 113, 1 Mar 23 08:16 /dev/ulpt1 crw--- 1 root wheel 113, 2 Mar 23 08:16 /dev/ulpt2 crw--- 1 root wheel 113, 3 Mar 23 08:16 /dev/ulpt3 crw--- 1 root wheel 113, 4 Mar 23 08:16 /dev/ulpt4 % usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, OHCI root hub(0x), AMD(0x), rev 1.00 port 1 disabled port 2 disabled port 3 disabled port 4 disabled No printer attached = you can't use it. Check cabeling and please send your dmesg output if you think cabeling should be OK. My kernel configuration contains the following for usb: # USB support device uhci # UHCI PCI-USB interface device ohci # OHCI PCI-USB interface device usb # USB Bus (required) device ugen # Generic device uhid # Human Interface Devices device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da (done) device ums # Mouse device uscanner # Scanners This should be more then enough for the kernel to get any ulpt compliant printer running. However your kernel doesn't know about *any* attached USB device. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Apr 05, 2004 at 02:58:33PM +0200, Heinrich Rebehn wrote: i am using a NEC USB2 controller and am just about to give up on using it. I don't know if it's the controller, the disk or the ehci driver. However, man ehci(4) states that The driver is not finished and is quite buggy. This seems to be true. I get all sorts of trouble ranging from hangs during boot to system crashes. I am reverting back to USB1 although its terribly slow. FreeBSD 5.2.1-RELEASE-p3 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb2 usb3 usb4: NEC uPD 720100 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2 umass0: Get Max Lun not supported (STALLED) GEOM: create disk da0 dp=0xc82ad450 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Maxtor OneTouch 0200 Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 239371MB (490232832 512 byte sectors: 255H 63S/T 30515C) Sorry i can't report anything posivtive on this. And I can't see anything wrong with your log. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Apr 05, 2004 at 05:09:32PM +0200, Heinrich Rebehn wrote: Bernd Walter wrote: On Mon, Apr 05, 2004 at 02:58:33PM +0200, Heinrich Rebehn wrote: i am using a NEC USB2 controller and am just about to give up on using it. I don't know if it's the controller, the disk or the ehci driver. However, man ehci(4) states that The driver is not finished and is quite buggy. This seems to be true. I get all sorts of trouble ranging from hangs during boot to system crashes. I am reverting back to USB1 although its terribly slow. FreeBSD 5.2.1-RELEASE-p3 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb2 usb3 usb4: NEC uPD 720100 USB 2.0 controller on ehci0 usb4: USB revision 2.0 uhub4: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 3 ports with 3 removable, self powered umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2 umass0: Get Max Lun not supported (STALLED) GEOM: create disk da0 dp=0xc82ad450 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Maxtor OneTouch 0200 Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 239371MB (490232832 512 byte sectors: 255H 63S/T 30515C) Sorry i can't report anything posivtive on this. And I can't see anything wrong with your log. Sorry, the log should only show what hardware i am using. I could not find any log for the hangs, probably because it occurs while the kernel is starting and i have to press reset, so it never gets written to a logfile. The crash happend when i hotplugged an MP3 Jukebox and tried to mount it: Apr 3 12:32:26 antsrv1 kernel: umass1: ARCHOS ARCHOS USB2.0 (P4a), rev 2.00/11.01, addr 3 Apr 3 12:32:32 antsrv1 kernel: GEOM: create disk da1 dp=0xca5f0850 Apr 3 12:32:32 antsrv1 kernel: da1 at umass-sim1 bus 1 target 0 lun 0 Apr 3 12:32:32 antsrv1 kernel: da1: HITACHI_ DK23EA-20 00K5 Fixed Direct Access SCSI-0 device SCSI-0 - how funny - there was never a SCSI revision 0. If we would have been strict then da driver wouldn't attach, because it can't really know a SCSI-0 direct access. At least a disk should be SCSI-1 with CCS which is the first revision that definied the command set. Apr 3 12:32:32 antsrv1 kernel: da1: 1.000MB/s transfers Also not very smart - but harmless. Apr 3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 255H 63S/T 2432C) Apr 3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0 Apr 3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel Apr 3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process context OK - we have an abort_xfer without any reason given. The panic is because the aborted transfer doesn't exist, which could mean that someone aborted an already completed transfer. Can you please add USB_DEBUG to your kernel and retry. Apr 3 12:38:08 antsrv1 kernel: cpuid = 0; Apr 3 12:38:08 antsrv1 kernel: Apr 3 12:38:08 antsrv1 kernel: syncing disks, buffers remaining... 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 6418 Apr 3 12:38:08 antsrv1 kernel: giving up on 3004 buffers Apr 3 12:38:08 antsrv1 kernel: Uptime: 22h44m54s A stack trace would be fine too so we see the function issuing the abort. The cause might be with USB-1.1 too, but not triggered because of less speed. Also, i get I/O-errors and the disk is inaccessible after having worked ok for days. Rebooting the machine fixes this. Which kind of IO errors? USB / SCSI / DA / Application? -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Mon, Apr 05, 2004 at 05:45:00PM +0200, Heinrich Rebehn wrote: Bernd Walter wrote: Which kind of IO errors? USB / SCSI / DA / Application? This i from ktrace tunefs -p /dev/da0s1a 4640 tunefs RET read 0 4640 tunefs CALL stat(0xbfbfea4a,0xbfbfe5a0) 4640 tunefs NAMI /dev/da0s1a 4640 tunefs RET stat 0 4640 tunefs CALL open(0xbfbfea4a,0,0) 4640 tunefs NAMI /dev/da0s1a 4640 tunefs RET open -1 errno 5 Input/output error 4640 tunefs CALL write(0x2,0xbfbfdf30,0x8) 4640 tunefs GIO fd 2 wrote 8 bytes tunefs: 4640 tunefs RET write 8 4640 tunefs CALL write(0x2,0xbfbfdf50,0x2a) 4640 tunefs GIO fd 2 wrote 42 bytes /dev/da0s1a: could not open special device 4640 tunefs RET write 42/0x2a Yes - but that's symptoms - there must be a USB and/or SCSI error too. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recommended USB 2.0 controller fr. 5.2+
On Tue, Apr 06, 2004 at 01:58:42PM +0200, Heinrich Rebehn wrote: Bernd Walter wrote: [snip] Apr 3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 255H 63S/T 2432C) Apr 3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0 Apr 3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel Apr 3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process context OK - we have an abort_xfer without any reason given. The panic is because the aborted transfer doesn't exist, which could mean that someone aborted an already completed transfer. Can you please add USB_DEBUG to your kernel and retry. I did, but with USB_DEBUG the system reproducibly crashes during boot: Without a stacktrace or at least the last kernel messages this output is almost useless. kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 0; apic id = 00 kernel: fault virtual address = 0xd kernel: fault code = supervisor write, page not present kernel: instruction pointer = 0x8:0xc0535482 kernel: stack pointer = 0x10:0xeaccfbb0 kernel: frame pointer = 0x10:0xeaccfbc8 kernel: code segment= base 0x0, limit 0xf, type 0x1b kernel: = DPL 0, pres 1, def32 1, gran 1 kernel: processor eflags= interrupt enabled, resume, IOPL = 0 kernel: current process = 246 (sysctl) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 0; kernel: kernel: syncing disks, buffers remaining... 6564 6564 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 You have 6563 dirty buffers when it crashed? That's amazing - so you are at least already on the way getting multiuser - otherwise everything is still read-only. I can't guess what services, etc.. you are starting - you really have to tell what happens. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: virtual tape or streamer device for backup purposes possible
#define LANG de_DE On Tue, Jan 21, 2003 at 01:54:33PM +0100, Christian Tanghe wrote: Hello, is it possible to configure a virtual tape, just working on an other harddisk? Lokaly or on any other Server in the network Writing an reading on it should be transparent for commands like tar, cpio or any backup software. Ja - nennt sich Datei und gibt es in nahezu beliebiger Menge auf jedem Filesystem. Kann zwar nicht Spulen, aber das brauchst du in dem Fall ja auch nicht, da es sowas wie Dateinamen gibt. tar, cpio und Co kommen damit wunderbar zurecht. Einen Streamer komplett simulieren ist so eine Sache, da Streamer nicht gleich Streamer - es gibt da mehrere Befehlssätze und Eigenarten. Aber braucht man eigendlich auch gar nicht. Or in other words: Can you only load a driver for an non existent streamer and use it to write on disk? Or do I need a special software solution? Evtl einen Systemupdate vor dem Bildschirm :) If you will excuse me ;), anybody knows if it exists a comparable solution under Linux? Ja - Dateien funktionieren sogar auf dem C64. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: virtual tape or streamer device for backup purposes possible
Sorry - for the german reply, but Christian has BBC'ed his message to the german Cosmo-Project mailing list. I did noticed it to late... -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: problem adding subdisk to vinum
On Tue, Aug 12, 2003 at 09:40:49AM -0700, Shawn Ostapuk wrote: V pr0n State: up Plexes: 1 Size: 1172 GB P vinum0.p0 C State: corrupt Subdisks:11 Size: 1172 GB S vinum0.p0.s0 State: up PO:0 B Size:152 GB S vinum0.p0.s1 State: up PO: 152 GB Size: 28 GB S vinum0.p0.s2 State: up PO: 181 GB Size: 76 GB S vinum0.p0.s3 State: up PO: 257 GB Size: 76 GB S vinum0.p0.s4 State: up PO: 333 GB Size: 76 GB S vinum0.p0.s5 State: up PO: 410 GB Size: 76 GB S vinum0.p0.s6 State: up PO: 486 GB Size: 76 GB S vinum0.p0.s7 State: up PO: 562 GB Size: 74 GB S vinum0.p0.s8 State: up PO: 637 GB Size:233 GB S vinum0.p0.s9 State: up PO: 871 GB Size:152 GB S vinum0.p0.s10 State: emptyPO: 1023 GB Size:149 GB vinum0.p0.s10 is at PO 1023G - reaching over the 1TByte limit on FreeBSD 4.x. That is because block numbers are signed 32 bit values. You need 5.x for volumes of this size. I'm not shure how the limit could result in this kind of symptom, but it won't work anyway and debugging this case can only change symptoms. Either use 5.x or be happy with your nearly 1T volume and start a new one for the next disk. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB and serial communication
On Fri, Sep 05, 2003 at 01:40:13PM +0200, Anders Jansson wrote: Hi everyone, I have just installed FreeBSD 5.1 om my PC (my first FreeBSD ever and it looks really nice). However, there is one missing link to connect me to FreeBSD heave. I would like to have a larger number of serial ports than the 2 already aailable in my PC and so I turned my attention to USB. I have a little box that has converts one USB connector to 4 serial ports. When I plug in this box in one of my two USB connections on my PC, I get the following printouts in the /var/log/messages file: You need ucom and uftdi compiled into your kernel. ugen is just a generic fallback driver. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Pen drive does not work with PCI2USB card.
On Sat, Jun 14, 2003 at 11:23:20AM +0400, Eugene Savin wrote: Hi, I have USB 2.0 PCI Card GMU2P-04V, pen drive (Mobile Disk III from TwinMOS), FreeBSD 4.8. Part of my kernel conf. file: ... device scbus # SCSI bus (required) device da # Direct Access (disks) device da0 device pass# Passthrough device (direct SCSI access) ... device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device usb # USB Bus (required) device ugen# Generic Part of dmesg: ... uhci0: VIA 83C572 USB controller port 0x6400-0x641f irq 12 at device 11.0 on usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0x6500-0x651f irq 11 at device 11.1 on ... usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: USB controller at 11.2 irq 10 ... I have usbd_enable=YES in /etc/rc.conf. Inserting of my pen drive in card does not get any effect. When I use my pen drive on othe computer (with integrated USB Host Controller), usbd detect da0 disk. Does it make a difference if the device is already plugged in while booting? -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with USB ulpt0 and CUPS
On Wed, Jun 18, 2003 at 08:39:12AM -0500, Thomas T. Veldhouse wrote: I posted this in April and received no response. However, this has been an ongoing issue since at least 2001 (where I found the first reference to this trouble via Google). The problem seems to be that the FreeBSD USB LPT driver (even with no-reset) is somehow dropping the first bits of the data stream, causing a page full of trash to be printed prior to the actual print job. I have no verified this problem with 5.1-RELEASE as well. I have a machine that has been serving as a print server. That machine was running CUPS and SAMBA over Linux. Now, it is running FreeBSD 5.0-RELEASE-p7 with CUPS and SAMBA. I have a Lexmark Optra 312 laser printer hooked up to the usb port, ulpt0 (no reset). When it was running linux, everything ran perfectly. I allow the Windows client machines to use their print drivers and send a raw stream through samba to cups for printing. This configuration has worked fine. However, for reasons of my own, I have put FreeBSD 5.0 on this machine. The same software configuration exists for printing. Now, when I print most pages, I get an extra page prefixing the job with two or three lines of printer commands (i.e. resolution = 600, @PCL, etc). This seems to be caused by the FreeBSD usb printer driver dropping a couple of characters at the beginning of the command stream. This used to happen to me with FreeBSD 4.6 as well, which is why that machine was running Linux in the first place. Has anybody seen this strange behavior and is there a known fix for it? I can reproduce it localy with -current, but have no fix. I thought that I had found the reason a few days ago, but murphy teached me better :( There is a bug in signal handling, but that's not our problem here. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Epson Stylus Color installation problem
On Sun, Nov 17, 2002 at 06:37:38PM +0100, [EMAIL PROTECTED] wrote: I did not see any recommendation in the Handbook to set up communication mode with usb printers. When I run lptcontrol ... the answer is ioctl : Operation not supported by the device. Is it normal ? Is there anything to change in the kernel to set the mode to polled or interrupt ? You are connecting to usb! lptcontrol is for - well for the lpt device - lpt != ulpt. Does dmesg show succesfull probing of ulpt0? Do you have usbd_enable=YES in /etc/rc.conf? Are you using /dev/ulpt0 and -not- /dev/lpt0? Can you print with echo test /dev/ulpt0? -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Mass Storage device
On Tue, Nov 26, 2002 at 11:36:45AM +0800, Seo Boon, NG wrote: This is the dmesg when the notebook during my reboot. The message doesn't appear when the USB device connects to notebook when it's running, hence I'm assumming that the kernel couldn't see the device. Is there any means to get the kernel see the USB device when I connect the device online i.e the notebook is running? I think rebooting my notebook everytime when I connect the USB isn't a viable option :) Is usbd running? Do you have /dev/usb* entries for all usb channels? -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: USB Mass Storage device
On Sat, Dec 14, 2002 at 07:31:00AM +0800, Seo Boon, NG wrote: | Do you have /dev/usb* entries for all usb channels? I don't seems to have all the usb* entry. Sorry I'm unfamiliar with usb setup, any idea how do I get it fixed? Thanks. cd /dev sh MAKEDEV usb1 usb2 -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: XF86Config.
Hello Peter, Your modeline is far to fast, Try the one which has a 48Mhz bandwidth. (Look in the lint). Most smaller and older monitors just need low refresh. Find the modeline for 1024x768 and 60Hz refresh. Greetings, Walter Spierings At 02:59 PM 2/11/03 +0100, you wrote: Thanks John, But unfortunately adjusting the vsync and hsync didn't make any difference. I did have a working XF86Config under Linux (XFree86 4.2.0 )but I haven't got a copy of that anymore , so it should be possible ! Just don't know what the magic parameter is to add to or change in the X11 Config file. rgds, Peter John Murphy wrote: Peter van Eck [EMAIL PROTECTED] wrote: I'm still having toruble to get my X window system to run properly. It loads the X server succesfull but the display is isshowing 3 Vertical stripes thru the Desktop. The frequencies seem OK , but it is like the desktop is split up in 3. USing an HP Ultra VGA 15 inch Monitior + a S3 Trio32/64 videocard . XFree86 4.2.0 Anyone a suggestion for me to check/change ? Section Monitor Identifier Monitor0 HorizSync30.0 - 86.0 VertRefresh 50.0 - 130.0 EndSection I think your monitor would not be able to cope with those ranges. The HP Ultra VGA 17 seems to be limited to 30-64 Khz / 50-90 Hz. The 15 inch is probably the same. The effect you're seeing is probably the result of the Horiz. frequency being way too high. If reducing those ranges doesn't help, you could try it without the 3dfx accelerator card. John. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Why natd don't divert packets?
On Fri, Mar 07, 2003 at 11:51:45AM +0300, denb wrote: This working in FreeBSD4.7(ipfw1), but broken in FreeBSD 5.0(ipfw2). Why? This is an issue triggered by compiling libalias with -O2. Recompile libalias without -O2 and recompile natd so it binds to the rebuild libalias.a The problem wasn't there a month ago. See -current list for firther details. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: boot up notification
[in reply to [EMAIL PROTECTED], 14-1-2005] I would like one of my servers to send me an email when it boots. I envision a script in rc.conf to do this. Is there an easier way, or an automatic system which can do this? We are using a simple shell script that can be placed in /usr/local/etc/rc.d/bootreport.sh. It sends out an email to root with the dmesg output, and also sends an email when the system is being shut down. #!/bin/sh HOSTNAME=`/bin/hostname`; case $1 in start) (echo $HOSTNAME was booted at `/bin/date` ; echo ''; echo '--'; echo ''; echo 'dmesg output:' ; /sbin/dmesg) | mail -s $HOSTNAME boot root ;; stop) echo $HOSTNAME was shut down on user request at `/bin/date` | mail -s $HOSTNAME shutdown root ;; *) echo echo Usage: `basename $0` { start | stop } echo exit 64 ;; esac -- Walter Hop [EMAIL PROTECTED] | TransIP | http://www.transip.nl/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xen timeline for 6.x
Hi all, I've been wondering about the status of Xen support and its possible inclusion in the 6.x branch. Originally it was mentioned in the FreeBSD status reports that full (domU and dom0) Xen support for the FreeBSD kernel would be merged in before 6.1-RELEASE. But I have also read on fsmware.com that there were problems in integrating some subsystems which could delay these plans. It looks like it's now too late to still introduce this before 6.1-RELEASE. Is there an updated timeline known about Xen in the 6.x tree? Kind regards, walter -- My eyes! The goggles! They malloc(), but free() nothing! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel forces machdep.hlt_cpus, how to change?
Hello all, I'm testing out FreeBSD 6.0R on a Dual Xeon. I want to do some benchmarking of hyperthreading before I put this machine into use, so I am trying to turn off the HLTing of logical cpu's. A stock SMP kernel without any options gives the following sysctl's on this machine: machdep.hlt_cpus: 10 machdep.hlt_logical_cpus: 0 machdep.logical_cpus_mask: 10 So even though I have hlt_logical_cpus at 0, the kernel seems to have decided to HLT my cpu's 8 and 2, the 'logical' threads on each Xeon I assume. I've tried to get around this by setting the following: test# cat /boot/loader.conf machdep.hlt_cpus=0 machdep.hlt_logical_cpus=0 But still after booting I get the same result with the cpu's HLTed. I'm not sure if using them for user processes actually helps, but I'd like to experiment with the setting. Any ideas how I should accomplish this? Cheers! Walter Hop Transip BV -- Transip BV | http://www.transip.nl/ Hoogwaardige Innovatie | Aangename Zekerheid ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial ports from additional old IDE ISA card
On Tue, Nov 11, 2003 at 10:41:29AM +0200, Rolandas Naujikas wrote: I'm tried to poke into ISA slot additional old IDE card (from old 486 computer) with serials and paralell ports. With jumpers on it I'm disabled IDE, floppy and parallel port. I'm tried to use only serial ports, configured at I/O location of COM3 and COM4 ports and IRQ 5 and IRQ 9. When tried to boot FreeBSD 4.8-RELEASE with GENERIC kernel and enabled sio2 devices, I see sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: configured irq 5 not in bitmap of probed irqs 0 sio0 and sio1 are from mainbord. sio2 could be from my additional card. Can I make possible to work this card as additional serials ports ? It's obvious that your card isn't configured to irq 5. In fact it seems to be configured to no irq at all. -- B.Walter BWCThttp://www.bwct.de [EMAIL PROTECTED] [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Distributions are missing from home burnt CD
Hi guys, I burned a CD of the LiveFS image and my installation failed. I then tried installing from the Disk 1 image and the install succeeded. My problem is that there are no Ditstributions on the disk. I don't even have bash now. :( I have searched all over but cannot find a file that contains the distributions. Thanks for the help!!! -Grant___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Distributions are missing from home burnt CD
lol, that its my problem. Base is not installed! The part of the install where you normally install base does not let me install it! Its not there!! Only a bunch of dutch translations On Mon, Aug 1, 2011 at 11:17 PM, Ryan Coleman edi...@d3photography.com wrote: Is portsnap installed? I was going with the effed up installer route. :) This works -I tried it when I wrote up the directions. I assume that if the machine boots into the OS, that base is installed and portsnap is in base' - Reply message - From: Robert Simmons rsimmo...@gmail.com To: Ryan Coleman edi...@d3photography.com Cc: Grant Walter grantwalt...@gmail.com, freebsd-questions@freebsd.org Subject: Distributions are missing from home burnt CD Date: Mon, Aug 1, 2011 8:22 pm On Mon, Aug 1, 2011 at 11:17 PM, Ryan Coleman edi...@d3photography.com wrote: Is portsnap installed? I was going with the effed up installer route. :) This works - I tried it when I wrote up the directions. I assume that if the machine boots into the OS, that base is installed and portsnap is in base. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org