Microphone on Macbook
I recently installed Debian Etch on my Macbook(Intel Core 2 Duo 2GHz, 1GB RAM). I followed the helpful wiki entry at http://wiki.debian.org/MacBook However, configuring the microphone to work seems to be needlessly complicated. I am reluctant to try out compiling the kernel and patching it as suggested. Is there an easier solution? -- R.Kumar. "An eye for an eye will only make the entire world blind." -Mohandas Karamchand Gandhi
Re: Anyone using Debian on notebook?
Hi, I am running Debian on a Macbook. I used the Etch DVDs for install, and I followed the instructions on the wiki entry http://wiki.debian.org/MacBook I think that made most things work for me, including wireless, touchpad and sound. Microphone worked after an alsa upgrade. Everything runs very smoothly(you can configure the keyboard setup in your xorg.conf to match your preferences), and I think the power settings can be set using ACPI as well (not too sure about battery performance enhancement etc.). Regards, -- R.Kumar. "An eye for an eye will only make the entire world blind." -Mohandas Karamchand Gandhi
stormix package ..?
Hi, Where did you get sl-stormpkg_1.0-1_i386.deb package from. I did search in stormix.com but couldnot find it!! Could you give me the exact location please? Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Again a stormix question
Hi, If I use stormix, would I be able to manage the machine later without using any stormix tools, but using only whatever is available with standard debian systems. Or in otherwords, what I am asking is will the initial usage of stormix for installation make me force to use stormix always as done by some distros.. Any comments by experienced users..? Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Web interface for spice
Dear fellow debians, Kindly excuse me if this posting was completely in a wrong list. A group of students of my university is interested developing a web interface for the berkeley spice program which has been ported to linux by someone. The advantage of having such an interface is that it would help everybody with a browser to use the linux version of spice which is all powerful with no limitations of number of devices unlike the popular microsim spice eval versions which work under MS. The professional versions of spice with no model limitations costs huge money. We would like to know whether you have done some work in this area/you know of someone who have done something in this area. Thanking you, With regards, Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496 - End forwarded message - Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Diff window manager
Hi, Can different users select different window managers if it is mentioned in the /etc/X11/window-managers file.? Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Window manager not starting on upgrade to potato
Hi, I upgraded my deb 2.1 to potato. There were no error messages during the upgrade, but now after the upgrade no window managers are starting. I get just a blank xterm like stuff and if I run fvwm95, fvwm95 window manager starts as expected. But it doesnt come automatically as we log in. The file /etc/X11/window-managers contains the following line as the first one /usr/bin/X11/fvwm95 Any ideas? Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
autofs and nis
Hi, How do we know that the auto.master and other autofs files are available on the client machine via nis ? What I mean is , on a client machine we can check for the availability of the passwd files by typing ypcat passwd. What is auto*.* equivalent. Should we do anything on the nis server to make them(autofs files) shareable via nis ? Pl sent a cc of your reply to [EMAIL PROTECTED] also. Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: FW: ppp help
Pl read /usr/doc/HOWTO/PPP-HOWTO On Fri, Jun 30, 2000 at 04:54:58PM -0400, [EMAIL PROTECTED] wrote: > Hey Debian-heads, > Thanks for the reply... > I've only installed the potato base-1-11.bin discs. > I wanted to use apt-get to install the rest of the system. > I can't seem to get my modem to dial up though. Are there > any good document pages (http) that explain how to set up > dial up scripts? My modem is on ttys3 (com4). So far, I've been > looking in /etc/ppp/* and have not understood what to do. > > Do I need some type of chat script? > Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: Install-boot failure
Hi, In my case, on one machine, I tried with boot diskette, the two cdroms(slink and potato), but in all cases, I got stuck with the same problem. So as of now, all options of installing debian (local + thru net) seems gone. Suresh On Tue, Jul 04, 2000 at 08:02:37AM -0700, Dinesh Nadarajah wrote: > I have experience similar problem but with red hat. We > found out that it was the CD and not the CD-drive. If > your going to install potato, I would suggest trying > the network based install with 2 floppies (if you have > a fast enough network connection). It is the easiest > and keeps the system uptodate with the latest. Or else > I would try burning another CD. > > Good luck. > > -Dinesh > > --- "Suresh Kumar.R" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > When I try to boot from the debian slink or potato > > cd, the boot process > > apparently hangs with the following line: > > > > FDC 0 is a post - 1991 82077 > > md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8 > > > > The interesting thing is , we are able to put Redhat > > linux into the same > > machine. We are trying to remove redhat to put > > debian. > > > > Any ideas? > > > > Suresh > > > - > > Suresh Kumar.R Email: [EMAIL PROTECTED] > > Dept of Electronics & Communication > > College of Engineering, Trivandrum - 695 016 > > INDIA
newusers command
Hi, I used newusers command to create large numbers of users. I find that 1. it doesnot copy files from /etc/skel to the home directory. Should it be enabled in some way ? 2. Also, it creates users with ids greater that what is existing already. (As I understand from the source code) By default in debian, thereis the nobody account with 65534 as userid and all accounts created with newusers were not working with reference to file permisions. (Precisely speaking, the new home directories created were not having the userid ownership.) I had to change the nobody user id to some value like 200 to make the newusers command work. Is there any other alternative? 3. Is it possible to use newusers command to execute some defaults script after creating users (For ex. to run smbpasswd) ? Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: emacs not obeying .Xdefaults, Thank you
Hi, Thanks for the help. I put them in .Xresources and it worked fine Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Installation of .tgz files
Hi, When we install some package using .tgz files, the debian package mechanism is not aware that the particular package is installed. For ex. I installed postfix*.tgz but apt is unaware of it. Therefore, when I use apt-get for installilng something else, it would say, MTA not installed and it would try to install one. Is there any way to fix it so that I can still enjoy apt-get install? Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: newusers command
Hi, Does adduser support reading data from a file? For large number of users like in our case (around 500) interactive entry for each user is not a desirable option. Suresh On Tue, Jul 11, 2000 at 11:40:32AM -0600, Gary Hennigan wrote: > "Suresh Kumar. R" <[EMAIL PROTECTED]> writes: > > I used newusers command to create large numbers of users. I find that > > > > 1. it doesnot copy files from /etc/skel to the home directory. > > Should it be enabled in some way ? > > > > 2. Also, it creates users with ids greater that what is > > existing already. (As I understand from the source code) > > By default in debian, thereis the nobody account with 65534 > > as userid and all accounts created with newusers were not working > > with reference to file permisions. (Precisely speaking, the new > > home directories created were not having the userid ownership.) > > I had to change the nobody user id to some value like 200 to make > > the newusers command work. Is there any other alternative? > > > > 3. Is it possible to use newusers command to execute some defaults > > script after creating users (For ex. to run smbpasswd) ? > > I'm not sure what the difference is but you might try the adduser > command instead (man adduser). I've never used newusers so I can't say > how it compares, but certainly adduser does almost everything you > mentioned above. I don't know if it can handle #3, but you could > certainly easily write your own script to call adduser and then > execute smbpasswd I would think. > > Gary Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
unable to unmount
Hi, If I mount a cdrom and nfs mount it on some other machines, even after the other machine is switched off, I am unable to umount the cdrom from the server. I am using potato. I am forced to reboot the machine to get the cdrom out. I tried fuser but no use Any suggestions ? Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: system lock on boot
Hi, I had the same problem, being unable boot of the cd from some machines where I could successfully install redhat linux. And I am still unable to install debian on them. Suresh On Thu, Jul 13, 2000 at 08:43:05PM -0700, e3c wrote: > Thank you for your reply, > > What I thought was Debian loading drivers for the hard drives was actually > Debian identifying the scsi controller since I have a dual controller card it > happens twice. So it was not loading drivers as I first thought. Although I > did disconnect everything except for the the cd-rom I was booting from and the > hard drive I wanted to install to. No luck, still locks in the same place. > Is > there a way to actually determine what is causing the computer to lock. Such > as something that would make the boot process go step by step with a > verification of each step? Or am I destine to yank everything out of the box > to > see if I can get an install that way, and then install one device at a time. > Although now that I have typed it that does not sound to far fetched. Any > ideas? > > Thank you, > Scott > > Jason Quigley wrote: > > > Hi Scott! > > > > Your SCSI card is being identified correctly. Although it's designated > > AH2940x, it uses an AIC7xxx chipset. Here is the output of /proc/pci for my > > card: > > > > Bus 0, device 11, function 0: > > SCSI storage controller: Adaptec AIC-7861 (rev 1). > > Medium devsel. Fast back-to-back capable. IRQ 12. Master Capable. > > Late > > ncy=32. Min Gnt=4.Max Lat=4. > > I/O at 0x8800 [0x8801]. > > Non-prefetchable 32 bit memory at 0xeb00 [0xeb00]. > > > > And the dmesg output: > > > > (scsi1) found at PCI 0/11/0 > > (scsi1) Narrow Channel, SCSI ID=7, 3/255 SCBs > > (scsi1) Downloading sequencer code... 423 instructions downloaded > > enable_irq() unbalanced from cc0417b0 > > scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.28/3.2.4 > > > > scsi : 2 hosts. > > (scsi1:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 15. > > > > The NCR stuff is just there because the kernel has it. This is in order to > > be able to install direct from CD to as many configurations as possible. > > You can ignore it. > > > > Why not try to install without the old HD. You can always add it in later > > when you get a stable system up and running. > > > > Cheers, > > Jason. > > > > --On Thursday, July 13, 2000 18:04 -0700 e3c <[EMAIL PROTECTED]> wrote: > > > > > I am new to Debian so I hope I am giving the needed information to > > > recieve help from the Debian comunity. > > > > > > My scsi controller (Adaptec AHA-2940U/UW Dual) supports > > > bootable cd-roms. I am trying to install > > > Debian 2.1 (kernel 2.2.12) from a VA Linux distribution I purchased in a > > > > > > store. I boot from the cd-rom and press > > > to start the installation. Things start to scroll > > > across the screen and then the computer > > > locks, not responding to anything but a warm reboot. Before > > > it hangs it looks like it is loading > > > drivers for my hard disks connected to my scsi card. I have > > > three hard drives and two cd-roms. The > > > bootable hard drive is at id 0, another at id 1, another at id 2, and > > > two cd-roms at id 3 and 4. The scsi controller id is at 7. After what > > > looks like the second scsi device being detected "(scsi1)" the system > > > locks. The last two lines on the screen read: > > > > > > (scsi1) downloading sequencer code... 374 instructions downloaded > > > NCR53c406a: no available ports found > > > > > > Also I notice that Linux identifies my scsi card incorrectly > > > as a AIC 7895 U > > > > > > My guess is that it has found something it does not like > > > with my hard drive that is at id2. (it is > > > an old hard drive that came out of my first computer, an IBM > > > P/S 2 80). As it still works I have kept it. I am currently running NT > > > 4.0 service pack 5 on my system > > > and after a brief experience with windows 2000 I am actively seeking a > > > new OS. > > > > > > I have tried to specify (blindly I admit) a boot parameter that would at > > > lest get me to the install screen. But to no avail. I have read the > > > boot parameter information found through the F4 and F5 options on the > > > boot disk and what I could find in the Debian tutorial and the Guide on > > > the Debian web site. I still feel clueless as how to truely use a boot > > > parameter. Or how to get to the install screen. > > > Any help would be greatly appreciated. I will be checking > > > my e-mail regularly so I am able to supply > > > any more information that might be needed. > > > > > > Thank you in advance, > > > Scott > > > > > > > > > > > > > > > -- > > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > > > /dev/null > > > > > > > > > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > Suresh -- Suresh
Re: unable to unmount
Hi, What I meant is, even if umount the cdrom drive from the client and then do a shutdown even, I am unable to umount cdrom from the server. This typically happens after my remote installation of debian/redhat linuxes. > > If I mount a cdrom and nfs mount it on some other machines, even after > > the other machine is switched off, I am unable to umount the cdrom >~~~ > Please elaborate. > Do you mean you just shutdown the other machine ? Or that you umount the > cdrom ? > Theoritically I should be able to unmount without shutting down nfsd isntit? My memory says, I was able to do it with my old redhat boxes(rh 4.* and 5.*) > Other than that you can try to shutdown nfsd (don't count on that, I haven't > tried it) > Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: Printing Failure
Hi, There is printtool package in potato which could be installed on slink as well. Why dont you just try that too. (It is an RH package basically, I think) Suresh On Fri, Jul 14, 2000 at 07:07:53AM -0500, Brian S Enyart wrote: > I'm running into a problem with the printer lately. Nothing is > printing out, and it doesn't appear I'm getting any real error > messages. > > I'm using lprng and magicfilter with an Epson 740. I did have > to create a new filter to use the new .upp files I tracked down > over the internet. > > --- /etc/printcap > lp|stc_740|Epson Stylus Color 740 @720dpi:\ > :lp=/dev/lp0:sd=/var/spool/lpd/stc_740:\ > :sh:pw#80:pl#66:px#1440:mx#0:\ > :if=/etc/magicfilter/[EMAIL PROTECTED]:\ > :af=/var/log/lp-acct:lf=/var/log/lp-errs: > > The /var/spool/lpd/stc_740/status.lp file (not included) shows > everything normall, with the job printing, finishing (with JSUCC) > status and being removed from the being removed from the queue within > a second. Of course, no printout exists. Any ideas? > > -- > Brian Enyart > http://members.iquest.net/~enyart > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > > Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: unable to unmount
Hi, I have just one more question. This problem wouldnt happen if I just mount the cdrom on the server, use it locally and after sometime I can unmount it. Then also nfsd should be accessing it as /cdrom is there in my exports list and preventing me from umounting? I am confused... Could you clarify, Suresh On Fri, Jul 14, 2000 at 01:55:49PM +0200, Michalowski Thierry wrote: > Your problem is that you exported the CDROM with nfsd, and thus nfsd is > still accessing it, even if nobody accesses your machine through nfs. > Just comment the line which exports your CDROM in /etc/exports, then issue > "exportfs -ua", then "exportfs -a" . > This should unexport your CDROM, and allow you to unmount it, locally. > > HTH > Thierry > Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
Re: New LINUX USER
Try Xconfigurator On Fri, Jul 14, 2000 at 03:20:47PM +0530, Dhinesh K Kumar wrote: > hello, > i have installed Red Hat Linux in my PC. i am finding problems in > configuring my monitor and Video card. Can u help me in this regard? >Monitor : Samsung SAMTRON 40Bn >Video Card : Cirrus Logic 546X (AGP 4 mb) >I can see a blank screen only after executing startx command. >Thank u. > Yours Faithfully > Dhinesh Kumar.K Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 414634/418379, (R) 91 471 443496
webct 3.1 and debian 2.2
Hi, Has anyone installed webct 3.1 on any debian 2.2 ? The webct people say that they dont support debian but only redhat 6.2. What happens when we install webct on debian is that the authentication fails. Any suggestion is welcome. I would appreciate if you sent a cc of your reply mail to [EMAIL PROTECTED] also Suresh -- Suresh Kumar.R, Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 595634 (R) 91 471 443496
authentication problem in apache in debian
Hello, A software called webct (written in perl) runs beautifully in a redhat box while it shows an authentication error in debian. The webct installs it's own apache and the error is from apache's authenticationmechanism. With my little knowledge I found that the authentication details are kept in two files called dbm_pass.dir and dbm_pass.pag. These files get modified when we add users to webct. But these newly created accounts are not allowed to login as webct shows error message. If we use dbmmanage to check the entries with these files, that also shows error. If we successfully add users using dbmmanage to these files, then also webct fails in authentication. The webct people say that they no longer support debian but only redhat. I am not inclined to change to redhat back after using debian for a long time just for webct. So any gurus there to help me out? I am surprised why a perl program behaves differently in debian and redhat while both similar platforms. Hoping to hear from you, With regards Suresh -- Suresh Kumar.R,Email: [EMAIL PROTECTED] Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 595634 (R) 91 471 593991
nfs server -- please help
Hi, We in our university, have a linux network with the nfs server on debian potato machine connected to around 30 machines. The file server runs a samba server also. All the machines are connected via utp cables using a 10mbps hub. The setup works fine when all clients runs windows nt and the linux fileserver beautifully serves all clients. But if all clients run linux, we get the following error message from almost half the clients and the clients crashes for a long time. nfs: task 5285 can't get a request slot Any ideas on how to sort it. It cannot be due to hardware as the same machine runs windows nt well. We are using automout in the clients for mounting the filesystems. Is due to the 10mbps hub ? Our students are in trouble when they use linux because of this problem. Thanks in advanace.. Suresh PS. A copy of your reply to [EMAIL PROTECTED] would be apreciated. -- Suresh Kumar.R, Assistant Professor Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 595634, 515660
how to download debian
Hi, I tried downloading debian using psudo image kit. Many servers I tried didnt allow downloading. It just stops connecting. Somesites allows to download upto a few Mbs and then halts. Reconnection doesnt help Where can we download it from? Thanks Suresh -- Suresh Kumar.R, Assistant Professor Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 595634, 515660
web based email client
Hello I would like to hear from you about the best web based email client that would run on a debian potato machine. I have a postfix running on a debian potator 2.2 and I would like to have web based email access available to all users. Your suggestions and experiences are most welcome. Thank you, suresh -- Suresh Kumar.R, Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 595634, 515660
php4 not working
Hello, I installed php4 on my potato system and is not working in the sense, when I call a php4 file, the browser gives download option instead of rendering it on screen. Php3 was working fine but for some applications I upgraded it to php4 and I am in trouble now. My version of php4 is 4.0.3pl1-0potato1.1. Any suggestion? With thanks, -- Suresh Kumar.R, Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 595634, 515660
funny apache behaviour
Hello, I installed php4 with apache in my potato machine and now index.php3 is taken only if we append a / to the path's end. For example if I type http://localhost/webmail/ it works but it will not if I type it as http://localhost/webmail. BTW, I was trying to install imp. Any ideas? Thank you, Suresh -- Suresh Kumar.R, Dept of Electronics & Communication College of Engineering, Trivandrum - 695 016, INDIA Phone: (O) 91 471 595634, 515660
3nics and routing...
Hi, I am trying to setup a linux (debian potato, kernel 2.2.19) box as a firewall . I have 3 nics on it. First one(210.212.236.97) connected to my cisco router. 2rd card (eth1) to internal lan with pvt ips. Third(eth2) (210.212.236.113) one to a hub which connects to my machines with public ips (my dmz).my dmz has proxy/mail/web servers. I am able to ping to router access net from the firewall but able to ping even the router (210.212.236.105) from other machines connected to eth1 or eth2. From all machines, I can ping all cards in the firewall. This is route output: Destination Gateway Genmask Flags Metric Ref Use Iface 210.212.236.112 210.212.236.113 255.255.255.240 UG 0 0 0 eth2 210.212.236.112 * 255.255.255.240 U 0 0 0 eth2 210.212.236.96 210.212.236.97 255.255.255.240 UG 0 0 0 eth0 210.212.236.96 * 255.255.255.240 U 0 0 0 eth0 192.168.100.0 192.168.100.254 255.255.255.0 UG 0 0 0 eth1 192.168.100.0 * 255.255.255.0 U 0 0 0 eth1 default 210.212.236.105 0.0.0.0 UG 0 0 0 eth0 For example, if I try to traceroute to 210.212.236.105, it reaches the correct card in the firewall but from there it times out. (no ipchain rules running right now). Any suggestions ? Suresh = Suresh Kumar R. Assistant Professor Dept of Electronics & Communication College of Engineering, Thiruvananthapuram - 695 016, INDIA Email : [EMAIL PROTECTED] Phone : 91-471-515660/515653/595634 __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
3 nic and routing
Hi, I am trying to setup a linux (debian potato, kernel 2.2.19) box as a firewall . I have 3 nics on it. First one(210.212.236.97) connected to my cisco router. 2rd card (eth1) to internal lan with pvt ips. Third(eth2) (210.212.236.113) one to a hub which connects to my machines with public ips (my dmz).my dmz has proxy/mail/web servers. I am able to ping to router access net from the firewall but able to ping even the router (210.212.236.105) from other machines connected to eth1 or eth2. From all machines, I can ping all cards in the firewall. This is route output: Destination Gateway Genmask Flags Metric Ref Use Iface 210.212.236.112 210.212.236.113 255.255.255.240 UG 0 0 0 eth2 210.212.236.112 * 255.255.255.240 U 0 0 0 eth2 210.212.236.96 210.212.236.97 255.255.255.240 UG 0 0 0 eth0 210.212.236.96 * 255.255.255.240 U 0 00 eth0 192.168.100.0 192.168.100.254 255.255.255.0 UG 0 0 0 eth1 192.168.100.0 * 255.255.255.0 U 0 0 0 eth1 default 210.212.236.105 0.0.0.0 UG 0 0 0 eth0 For example, if I try to traceroute to 210.212.236.105, it reaches the correct card in the firewall but from there it times out. (no ipchain rules running right now). Any suggestions ? Suresh = Suresh Kumar R. Assistant Professor Dept of Electronics & Communication College of Engineering, Thiruvananthapuram - 695 016, INDIA Email : [EMAIL PROTECTED] Phone : 91-471-515660/515653/595634 __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 3nics and routing...
Hi, I tried what you said, still from my dmz and internal lan I am unable to go out of my firewall box. From al machines I can ping all the three cards of firewall box but nothing beyond. This is the output of route command now: Destination Gateway Genmask Flags Metric RefUse Iface 210.212.236.105 * 255.255.255.255 UH 0 00 eth0 210.212.236.112 * 255.255.255.240 U 0 00 eth2 192.168.100.0 * 255.255.255.0 U 0 00 eth1 default 210.212.236.105 0.0.0.0 UG 0 00 eth0 cat /proc/sys/net/ipv4/ip_forward gives out 1. Ping to 210.212.236.105 also times out as usual Any suggestions please... Suresh --- Suresh Kumar R <[EMAIL PROTECTED]> wrote: > On Thu, 2002-04-11 at 14:58, Suresh Kumar R wrote: > > Hi, > > > > I am trying to setup a linux (debian potato, > kernel > > 2.2.19) box as a firewall . I have 3 nics on it. > > > > First one(210.212.236.97) connected to my cisco > > router. 2rd card (eth1) to internal lan with pvt > ips. > > Third(eth2) (210.212.236.113) one to a hub which > > connects to my machines with public ips (my > dmz).my > > dmz has proxy/mail/web servers. > > > > I am able to ping to router access net from > the > > firewall but able to ping even the router > > (210.212.236.105) from other machines connected to > > eth1 or eth2. From all machines, I can ping all > cards > > in the > > firewall. > > echo "1" > /proc/sys/net/ipv4/ip_forward > and change ip_forward to 'yes' in > /etc/network/options > for setting it on > boot up. > > clear all the routes and add these > > #route to the DMZ > route add -net 210.212.236.112 netmask > 255.255.255.240 > dev eth2 > > #route to the cisco > route add -host 210.212.236.105 dev eth0 > > #route to the private lan > route add -net 192.168.100.0 netmask 255.255.255.0 > dev > eth1 > > #default route out to the net via cisco > route add default gw 210.212.236.105 > > Make sure machines on the DMZ have their gateway set > to 210.212.236.113 > Make sure the machines on the lan have their gateway > set to > 192.168.100.254 (I assume thats the IP of eth1) > Make sure the cisco's default route is outward to > the > net, and all other > ip/nm (DMZ and your box, but not lan) are routed > towards your box. > > Then its IP masq and firewall time. > > > For example, if I try to traceroute to > > 210.212.236.105, it reaches the correct card in > the > > firewall but from there it times out. (no ipchain > > rules running right now). > > Because you have gateways set in our routes where > they > shouln't be. > > Kind Regards > Crispin Wellington > > > = Suresh Kumar R. Assistant Professor Dept of Electronics & Communication College of Engineering, Thiruvananthapuram - 695 016, INDIA Email : [EMAIL PROTECTED] Phone : 91-471-515660/515653/595634 __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]