Re: newbie, connecting to the internet
Hi Kevin, I think I can help you. I assume that you are using Debian Linux/ Woody if it is potato it could be quite different. I also assume that your local ethernet interface is eth0. First I have to know what kind of router you have? Is it a Masquerading Router? If it is, you only have to configure the local ethernet interface. Of course you have to be root to do that. This is quite easy. Just use your favourite Editor to edit the file "/etc/network/interfaces" just add the lines(if the interface eth0 is already configured there just change the config, but first you have to type "ifdown eth0" before changing the file): auto eth0 iface eth0 inet static address your.local.ip.adress(eg. 192.168.0.2) netmask your.local.netmask(eg. 255.255.255.0) up route add -host your.routers.ip.address eth0 up route add default gw your.routers.ip.address(eg. 192.168.0.1) The Adresses you have to use are described in the routers manual(perhaps you have configured them yourself in the router). The two lines starting with "up" are setting up the route to your router. Then just type in "ifup -a" as root to activate your interface eth0 and it should work. I hope I haven't forgotten anything. If you have any further problems, just write. Greetings Alexander Karbstein From: kevin schwarz To: [EMAIL PROTECTED] Sent: Saturday, April 13, 2002 4:12 PM Subject: newbie, connecting to the internet I am fairly new to linux, but i would really like to set up a apache and tomcat on my linux machine. I have installed Debian but i am having trouble getting connected to the internet. My windows machine is connected to a netgear router which shares out the connection to a cable modem. Basically I guess i just want to be a client on the router. Could anyone point me in the right direction? Thanks, Kevin Schwarz
Re: Postfix Regular Expressions
On Sun, 2002-04-14 at 03:18, Gene Grimm wrote: > Craig Sanders wrote: > > \s and \t (and \d, \w, \b, and many others) are pcre (perl-compatible > > regular expressions) which are an extension of standard regexps. > > > > > If the map is a regexp style map, then you just use a tab instead of > > > \t. > > > > yep, and use "[[:space:]]" instead of "\s" - that matches spaces & > > tabs, just like \s does. > > For pcre style expressions how would you represent the perl pattern > /\s{15,}[a-zA-Z0-9]{2,8}$/? Is it exactly the same in pcre as it is in > perl? How would you represent this in regexp style (for immediate spam > rejection patterns)? Well, as pcre stands for 'perl compatible re', I would guess it should be exactly the same. But the best answer you can get is testing itself by using postmap -q with that regex pattern and a few test-lines. I believe a regexp style pattern is almost the same, with only \s replaced by [[:space:]] See the pcre(7) and regex(7) manpages for the details. -- Tot ziens, Bart-Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[Question] Harddisk Error!!!
Hello List : i have some problem as following : fileserver:/# e2fsck -v -y /dev/hda bash: /sbin/e2fsck: Input/output error then,i check /var/log/mesagg fileserver:/# tail -10 /var/log/messages Apr 15 03:09:37 fileserver kernel: ide0: reset: success Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: status=0x61 { DriveReady DeviceFault Error } Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: error=0x04 { DriveStatusError } Apr 15 03:09:37 fileserver kernel: end_request: I/O error, dev 03:03 (hda), sector 37492776 Apr 15 03:09:37 fileserver kernel: hda: recal_intr: status=0x61 { DriveReady DeviceFault Error } Apr 15 03:09:37 fileserver kernel: hda: recal_intr: error=0x04 { DriveStatusError } Apr 15 03:09:37 fileserver kernel: ide0: reset: success Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: status=0x61 { DriveReady DeviceFault Error } Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: error=0x04 { DriveStatusError } Apr 15 03:09:37 fileserver kernel: ide0: reset: success it seems, my harddisk crash?or my kernel problem? anybody knows how to solve this problem?? @_@ -- Trust & Unique ... axacheng <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Question] Harddisk Error!!!
On Monday 15 April 2002 12:02 am, axacheng wrote: > Hello List : > > i have some problem as following : > > fileserver:/# e2fsck -v -y /dev/hda > bash: /sbin/e2fsck: Input/output error > > then,i check /var/log/mesagg > > fileserver:/# tail -10 /var/log/messages > Apr 15 03:09:37 fileserver kernel: ide0: reset: success > Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: status=0x61 { > DriveReady DeviceFault Error } Apr 15 03:09:37 fileserver kernel: hda: > set_geometry_intr: error=0x04 { DriveStatusError } Apr 15 03:09:37 > fileserver kernel: end_request: I/O error, dev 03:03 (hda), sector 37492776 > Apr 15 03:09:37 fileserver kernel: hda: recal_intr: status=0x61 { > DriveReady DeviceFault Error } Apr 15 03:09:37 fileserver kernel: hda: > recal_intr: error=0x04 { DriveStatusError } Apr 15 03:09:37 fileserver > kernel: ide0: reset: success > Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: status=0x61 { > DriveReady DeviceFault Error } Apr 15 03:09:37 fileserver kernel: hda: > set_geometry_intr: error=0x04 { DriveStatusError } Apr 15 03:09:37 > fileserver kernel: ide0: reset: success > > it seems, my harddisk crash?or my kernel problem? > > anybody knows how to solve this problem?? @_@ I am by no means an expert about HD's, but I just had an IBM TravelStar 48GB laptop HD bite the dust with errors identical to these. Bad blocks growing rapidly. In fact I am just now getting everything back up on the replacement from Dell, but because of many many errors in /usr when tranferring from the bad HD to the replacement, I am going to wipe it and reinstall. I don't know what you're hardware is, and I don't know about generic utils, but I used Dell's 32bit Diagnostic util in order to get them to replace the drive under warrenty. Good luck, -- J. Patrick Lanigan Debian Linux - 2.4.18 on vagabond 00:17:46 up 7:58, 1 users, load average: 1.13, 1.16, 1.10 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Question] Harddisk Error!!!
hi ya axacheng > > fileserver:/# e2fsck -v -y /dev/hda > bash: /sbin/e2fsck: Input/output error you cannot run e2fsck on a "disk"... you need to run e2fsck on ext2 partitions e2fsck /dev/hda1 e2fsck /dev/hda2 ... NOTE... do NOT run e2sck on your mounted "root partition" ( read the warnings you would be getting especially root partition... ( ie... dont do -v -y in your example or you'd ( be creating major problems on your machines the error messages may be real or self-induced mis-leading errors... if you do NOT have any of those seek errors in your logs, than i'd not worry about your disk yet ... am assuming that there are no such warnings other than on Mar 15 03:09 which is exactly the same time you rand the erroneous e2fsck command if yu do have tons of these error at all times of the day and nights than you have a dying disks... - copy off all your data to a new backup disks - start replacing the ide cables and wiggle it and see if there is good connections or shorts or other whacky stuff c ya alvin > then,i check /var/log/mesagg > > fileserver:/# tail -10 /var/log/messages > Apr 15 03:09:37 fileserver kernel: ide0: reset: success > Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: status=0x61 { DriveReady >DeviceFault Error } > Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: error=0x04 { >DriveStatusError } > Apr 15 03:09:37 fileserver kernel: end_request: I/O error, dev 03:03 (hda), sector >37492776 > Apr 15 03:09:37 fileserver kernel: hda: recal_intr: status=0x61 { DriveReady >DeviceFault Error } > Apr 15 03:09:37 fileserver kernel: hda: recal_intr: error=0x04 { DriveStatusError } > Apr 15 03:09:37 fileserver kernel: ide0: reset: success > Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: status=0x61 { DriveReady >DeviceFault Error } > Apr 15 03:09:37 fileserver kernel: hda: set_geometry_intr: error=0x04 { >DriveStatusError } > Apr 15 03:09:37 fileserver kernel: ide0: reset: success > > it seems, my harddisk crash?or my kernel problem? > > anybody knows how to solve this problem?? @_@ > > -- > Trust & Unique ... > axacheng <[EMAIL PROTECTED]> > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Catchall for Bind?
Hi, Hum... no one replied to this. Does this mean it isn't possible without huge modifications, or no one got around to replying yet? ;-) Jas - Original Message - From: "Jason Lim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 14, 2002 9:45 AM Subject: Catchall for Bind? > Hi all, > > Is there any way to setup a "catch-all" BIND IP address? That is... if a > domain name has our DNS servers listed, then we automatically resolve it > to a predefined IP number (act authoritive). Sort of how you can have a > "default" virtual host in Apache. > > Naturally, this cannot interfere with the existing domains... just act > like a "fallback" if nothing is there. > > I was thinking this so that people could simply point their domains to our > DNS servers, and have, perhaps, a domain parking website show up > automatically without us having to add all of it. > > Possible? (perhaps it is already being done?!) > > TIA. > > Sincerely, > Jason > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]