Re: Determining IP address of my pc (dial up and/or cable modem)

2001-05-24 Thread Sanjeev Gupta
On Thu, 24 May 2001, Antonio Rodriguez wrote:

 I know this must be a very stupid question (+/+)  flaming myself
 Any way: I am not sure how I can determine  the IP address of my machine 
 after I have a dialup connection established. Will the first ip given by mtr 
 be mine, or first machine connected to in network?
 How does it work in the case of cable-modem connection? Since I have noticed 
 that what we get is adapter address, instead of ip address.

ifconfig 

The first IP in mtr will be that of your ISP's gateway towards you.

--
Sanjeev ghane GuptaMob: +65 98551208
dotXtra Pte Ltd  Fax: +65 5470260
Singaporeemail: [EMAIL PROTECTED]
~~



Re: netscape in bw

2000-10-17 Thread Sanjeev Gupta


On Tue, 17 Oct 2000, Rino Mardo wrote:

 hmm, thanks for the inputs.  i'm using Galeon now or was forced to use it
 because of this bug.  anyone who is still having problems with netscape should
 switch to either Galeon instead.  just my 2cents.

What is galeon?  A browser?

I am looking for a www browser, graphical, no java, but
should support mpeg plugins.  Something light, for a kiosk.

Thanks



ELO Touch Monitors

2000-10-16 Thread Sanjeev Gupta
Folks,

I cannot locate the module xf86Elo.so , required for ELOTouch monitors, in
the ebian archive.

Any pointers?

Thanks

Sanjeev Gupta



Re: ELO Touch Monitors

2000-10-16 Thread Sanjeev Gupta
Folks,

Found it in the xext package, thanks.  Any pointers on its use?  I am
trying to place Linux on public access kiosks.

BTW, does anyone know how to run Navigator full screen (no icons, no menu
bar).  I want to ensure that the user cannot close the window.

Regards

On Mon, 16 Oct 2000, Sanjeev Gupta wrote:

 Folks,
 
 I cannot locate the module xf86Elo.so , required for ELOTouch monitors, in
 the ebian archive.
 
 Any pointers?
 
 Thanks
 
 Sanjeev Gupta
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 



Re: Setting up DNS for virtual domains

2000-07-27 Thread Sanjeev Gupta

At 09:23 AM 7/26/2000 -0400, Mostly Harmless wrote:

I'm going to try to explain this as bast I can though my understanding
of a lot of these issues is shaky at best.



I help admin the student computing organization's servers at my school.
We would like to offer full virtual domain service to our users, but we
do not have a 2nd level domain -- our main domain is wso.williams.edu,
also known as gertrude.williams.edu. For now, we ask the school's tech
guys to change the DNS whenever we need to a new computer. I'm
comfortable staying with that arrangement, but a lot of users have
registered domains with places that don't provide DNS service. We can't
get the school DNS to change every time this happens, so we've decided
to set up our main machine as DNS Nameserver. There's two main issues as
I see them -- the actual DNS configuration on the gertrude and getting
the machine known as a Nameserver out in the wide world.


Yes.  Exactly.


Issue 1: I've looked far and wide on the Internet (probably not far and
wide enough) for resources telling me how to set up virtual domain
service. Most of the examples are for Bind 4.x which make things tough
(we're running 8). Essentially, we'd just like to have a lot of
different domains point to the same IP: gertrude's. We'll sort it all
out with Apache later (I can handle that part). But I just can't seem to
figure out how to do this -- we won't be providing DNS service for
the name gertrude.williams.edu or wso.williams.edu -- we just want to
specify 10-20 domains that should point to gertrude's IP. I think I need
a resource zone file for each domain (all based on some template) but
I'm having trouble. If anyone could point me in the direction of a
sample named.conf and a resource file or two for someone in my situation
I'd be really grateful.


I assume wso is the canonical name, I will use that.  I am also going to be 
using the BIND 8 format, named.conf, not named.boot, as that is the 
recommended for Debian now.


Most importantly, the potato BIND has all his files in /etc/bind, so I will 
follow that.  Use updatedb and locate to find files in other versions.


Set up BIND on wso.  Use the Debian package, install the default, caching, 
forward only.


For each domain that you are going to provide a NS for, do the following:

In /etc/bind/named.conf , add the stanza
---
zone DOMAIN.com. {
type master;
file /etc/bind/db.DOMAIN.com;
};
---
Substituting the actual 2nd level name domain for DOMAIN.com.  Notice final 
. on the zone line.


In /etc/bind, create a file called db.DOMAIN.com , and populate it as 
follows (lines with a # prefix are comments for you, strip from file):

---
;Zone file for DOMAIN.com.
@ IN  SOA wso.williams.edu. jredburn.wso.williams.edu. (
# The ., not @ after jredburn is correct
251601  ; serial, todays date + todays 
serial #
# I like using MMDDxx for Serial, update each time you toch 
this file

3600; refresh, seconds
600 ; retry, seconds
345600  ; expire, seconds
36000 ) ; minimum, seconds
 IN  NS  wso.williams.edu.
MX  10 wso.williams.edu.
# If you want to recieve mail for them.  Else remove line above.

www   A   IP.ADDRESS.OF.WSO
  MX  10 wso.williams.edu.
# As above
LOC 41 50 0 N 87 35 0 W
# You will, of course, change this ;-)

ftp IN  CNAME   www
---

This will ensure that anyone asking wso for the adderss of www.DOMAIN.com. 
will be returned wso's address.



Issue 2: As I understand it, none of this means much unless I can
specify gertrude as the nameserver for these domains. Currently, I'm
told she's not a valid nameserver. Does this mean I need to get the
person who runs DNS for gertrude (the school) to edit the DNS records
just this once and specify gertrude as a Nameserver? What exactly should
I ask them to do? They tend to be pretty helpful as long as I know what
I need done.


One thing, actually.  Go to Network Solutions Register page.  Fill up a 
Host template for WSO.williams.edu.  When you get a mail from them, forward 
it to your Tech guys, who are in charge of the williams.edu zone.  Once the 
approve it, and send it to NSI, wso.williams.edu will be a Host.


Ask all DOMAIN.com. holders to specify the name wso.williams.edu and its IP 
address in their registrar's configuration.



thanks much if any of you made it this far,
jeremy

A CC: on any reply would be much appreciated - thanks.


Done.

I must say that you, or the Administrator of wso, is a very generous 
chap.  Most Administrators balk at giving users public_html access, you are 
willing to set up Virtual hosts!!


Hope this helps

-- Ghane



Isn't IP Forwarding the default?

1999-10-25 Thread Sanjeev Gupta
Folks,

I am replacing a CISCO router with a Linux box running 2.0.34.  I have
an Emerging Technologies Card, which connects to the V.35 modem my ISP 
gave.  The machine refuses to forward packets accross interfaces.

My configuration:

Linux earth 2.0.34 #19 Sun Oct 17 17:03:59 IST 1999 i586 unknown

eth0Local (192.168.x.y) card
eth1valid IP card (12.10.198.112/29) card, for mail servers, etc
ets0Card to talk to RF Modem, runs PPP

[EMAIL PROTECTED]:~ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt Iface
12.10.199.610.0.0.0 255.255.255.255 UH 1500 0  0 ets0
12.10.198.112   0.0.0.0 255.255.255.248 U  1500 0  0 eth1
192.168.200.0   0.0.0.0 255.255.255.0   U  1500 0  0 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U  3584 0  0 lo
0.0.0.0 12.10.199.610.0.0.0 UG 1500 0  0 ets0

# /sbin/ipfwadm -F -e -p accept

# echo 1  /proc/sys/net/ipv4/ip_forward

IP Masq works beautifully.

[EMAIL PROTECTED]:~ /sbin/ipfwadm -l -v -F
IP firewall forward rules, default policy: accept
type  prot source   destination  ports
acc/m all  arjun.eurolink.stpn.soft.net anywhere n/a
acc/m all  nakul.eurolink.stpn.soft.net anywhere n/a
acc/m all  pc-16.eurolink.stpn.soft.net anywhere n/a
acc/m all  12.10.198.116anywhere n/a

I know I should not have an open router, but that is secondary.  How can I
tell the box to forward, simply, blindly?  I will start firewalling later.

Thanks,


Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin





Re: howto mail attach in command line?

1999-10-22 Thread Sanjeev Gupta

apt-get install uudeview

uuenview -m [EMAIL PROTECTED] -b -a  $HOME/some.tar.gz

On Fri, 22 Oct 1999, zhaoway wrote:

 how could i mail people attach file using a single command?
 like mail -s some [EMAIL PROTECTED] --attach $HOME/some.tar.gz
 
 TIA
 
 -- 
 zhaoway
 = Please Cc me when replying list.
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 


Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin


Re: masq server hardware req's

1998-12-04 Thread Sanjeev Gupta
On Fri, 4 Dec 1998, Michael Beattie wrote:

 On Wed, 2 Dec 1998, George Bonser wrote:
 
  modem or something ... no problem. Your concern is going to be with disk
  space. If users leave their pop3 mail in the server, mail files can grow
  quite large. This is particularly true at Christmastime here in the US
  where Windows users have a fondness for sending emails with 50MB
  movies attached of Santa and his deer dancing around.
 
 Sorry for the dig, but Only in America

Aaha.  There's where we Indians have caught up with the yanks.  In our
case, however, it earlier (Nov), when we have Deepawali.  .jpeg  .mpeg of
lamps shining doen the Ganges.  I enclose a mail sent by me every year to
staff in our office:

-
Subject: Happy Diwali to you, too
 
Folks,
 
We are nearly at that time of the year when the urge to mail large files
with Season's Greetings, to friends and enemies, alike, strikes us.
Unfortunately, it strikes the mail servers in the middle the worst.
 
Desist.



Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin



Re: Name suggestion

1998-12-03 Thread Sanjeev Gupta
On Wed, 2 Dec 1998, George Bonser wrote:

 
 I have noticed that Debian rolls unstable to frozen and then to stable in
 its release cycle. In order to more accurately reflect reality, I suggest
 that a fourth stage be created between unstable and frozen. I would call
 this broken.  A release candidate would roll from unstable to broken and
 in this way, when someone tries to upgrade to it and it breaks their
 system, it will not be any great surprise ... I just upgraded to broken
 and now my system is broken...oh, nevermind.

Witness a post of mine on Monday: Upgraded to unstable, now unstable ;-)


Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin


Re: my apt problem

1998-12-03 Thread Sanjeev Gupta
On Thu, 3 Dec 1998, Lindsay Allen wrote:

 
 My thanks to those who helped with my bash problem.  Here is my only other
 real problem.
 
 apt-get used to work, but now all I get is:
 
 elm# apt-get upgrade
 Updating package status cache...done
 Checking system integrity...ok
 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 elm#
 
 This happens every time, regardless of whether I point apt at a web site
 or at my local mirror. 

Just a thought, run

apt-get update

once in a while



Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin


Re: masq server hardware req's

1998-12-03 Thread Sanjeev Gupta
On Thu, 3 Dec 1998, Sibuyas Bombay wrote:

 Hi !
   I have an old pentium 90 here with 32 mb physical mem on it and I am 
 planning
 to use it as an IP Masquerading server / DNS caching only server and Mail 
 server
 with a *.ml.org (as soon as they recover) for our group of 20 users and 9 
 winblows
 boxes.
   I already have this kind of server running great on a Pentium166 w/ 64 mb
 RAM and was just wondering if i can salvage this old puter of mine and give
 it some use.
   Do you think that old puters hardware can do the kind of work i want it to
 do and still perform as good as the other one or do i need to upgrade 
 something
 ?
   thanks,
 Sib

Sure.  Have run DNS/Ip Masq on a 486-66, 12MB, with mail-gateway for 100
users, news server, and Apache Proxy.


Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin


libstdc++ : __register_frame_info (Repost)

1998-12-02 Thread Sanjeev Gupta
Folks,

If you are getting the error

/usr/lib/libstdc++-libc6.0-1.so.2: undefined symbol: __register_frame_info

after upgrading to slink, please go through the mail below.  Mitch's 
solution worked for me.  This issue may be irrelevent when the new
stuff shows up on the servers.

This is just a repost; I have little other info.

Regards

-- Ghane

From [EMAIL PROTECTED] Tue Dec  1 10:05:41 1998
Date: Mon, 30 Nov 1998 00:51:06 -0500
From: Mitch Blevins [EMAIL PROTECTED]
To: Sanjeev Gupta [EMAIL PROTECTED]
Subject: Re: Upgraded to unstable, now unstable

Sanjeev Gupta wrote:
 Folks,
 
 Have used Debian for critical office uses for over two years now.  And
 last saturday, being in Office, decided to upgrade from hamm to slink.
 (Please do not shoot yet).
 
 Near the end, I started getting:
 
 update-menus: error in loading shared libraries
 /usr/lib/libstdc++-libc6.0-1.so.2: undefined symbol: __register_frame_info
 
 Hmmm.  No problem, will right it self, I thought.  The same sort of
 library problems had occured when upgrading my Debian/Sparc installtion.
 
 But no way.  Many tools have stopped working (groff, etc); and to top it
 all, apt-get and dselect too.  So no hope of the next day's updates on
 slink righting matters.
 [snip]

There is another way to do this that I've seen bouncing around,
but I don't have the link to it yet.

Downgrade your dpkg to 1.4.0.31 and upgrade your libstdc++ if it
hasn't been already.  Make sure apt is at 0.1.9.

You can get a tarball of all these debs from
http://blevins.simplenet.com/foobar/

dpkg should still work, although dselect and apt are hosed.
After installing the files above, both dselect and apt should work.
Other packages may still have problems with the __register_frame_info
problem, but they are being recompiled and uploaded so they should
work themselves onto your mirror after a few days.

Hope this helps,
-Mitch



Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin


Re: writing a letter in LaTeX

1998-12-02 Thread Sanjeev Gupta

Of course.  Add the two commented lines, and watch.  \address  \signature
don't produce output, they define variables.  Output is produced by
\opening  \closing

Regards


On Tue, 1 Dec 1998, Roy C Bixler wrote:

 I tried using Lyx to write a letter and, in the end, had to resort to
 Star Office 5 because of an apparent bug in LaTeX.  The Lyx output
 looked fine, but LaTeX did not include either the 'from' or 'to'
 addresses in the output DVI file.  I was pretty shocked by this, since
 a long time back when I was an Atari ST user, I had LaTeX set up there
 as my word processor and never had a problem like this.
   snip 
 \documentclass{letter}
 \begin{document}

\signature{Roy Bixler} %% Add this line

 \address{John Jones\\ 123 A St.\\ Anytown, AW AB3 4AA}
 \begin{letter}{Mr. Joe Smith\\ 2345 Princess St.
 \\ Edinburgh, EH1 1AA}

\opening{Dear Sir,} %% Add this line

Each letter is a `letter' environment, whose argument is the name
 and address of the recipient.  For example, you might have:

\closing{Sincerely} %% Add this line

 \end{letter}
 \end{document}
 


Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin


libstdc 2.9 problem in slink

1998-12-01 Thread Sanjeev Gupta
Reposting Mitch's mail.  I will do so daily this week.  The solution is
simple, and worked well for me.

-


From [EMAIL PROTECTED] Tue Dec  1 10:05:41 1998
Date: Mon, 30 Nov 1998 00:51:06 -0500
From: Mitch Blevins [EMAIL PROTECTED]
To: Sanjeev Gupta [EMAIL PROTECTED]
Subject: Re: Upgraded to unstable, now unstable

Sanjeev Gupta wrote:
 Folks,
 
 Have used Debian for critical office uses for over two years now.  And
 last saturday, being in Office, decided to upgrade from hamm to slink.
 (Please do not shoot yet).
 
 Near the end, I started getting:
 
 update-menus: error in loading shared libraries
 /usr/lib/libstdc++-libc6.0-1.so.2: undefined symbol: __register_frame_info
 
 Hmmm.  No problem, will right it self, I thought.  The same sort of
 library problems had occured when upgrading my Debian/Sparc installtion.
 
 But no way.  Many tools have stopped working (groff, etc); and to top it
 all, apt-get and dselect too.  So no hope of the next day's updates on
 slink righting matters.
 [snip]

There is another way to do this that I've seen bouncing around,
but I don't have the link to it yet.

Downgrade your dpkg to 1.4.0.31 and upgrade your libstdc++ if it
hasn't been already.  Make sure apt is at 0.1.9.

You can get a tarball of all these debs from
http://blevins.simplenet.com/foobar/

dpkg should still work, although dselect and apt are hosed.
After installing the files above, both dselect and apt should work.
Other packages may still have problems with the __register_frame_info
problem, but they are being recompiled and uploaded so they should
work themselves onto your mirror after a few days.

Hope this helps,
-Mitch




Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin


Upgraded to unstable, now unstable

1998-11-30 Thread Sanjeev Gupta
Folks,

Have used Debian for critical office uses for over two years now.  And
last saturday, being in Office, decided to upgrade from hamm to slink.
(Please do not shoot yet).

Near the end, I started getting:

update-menus: error in loading shared libraries
/usr/lib/libstdc++-libc6.0-1.so.2: undefined symbol: __register_frame_info

Hmmm.  No problem, will right it self, I thought.  The same sort of
library problems had occured when upgrading my Debian/Sparc installtion.

But no way.  Many tools have stopped working (groff, etc); and to top it
all, apt-get and dselect too.  So no hope of the next day's updates on
slink righting matters.

Output of nm below:


earth# nm -D /usr/lib/libstdc++-libc6.0-1.so.2 | grep frame
 U __deregister_frame_info
 U __frame_state_for
 U __register_frame_info


Help?  

PS: If you answer this on the newsgroup, please mail me a copy.  My Linux
box was handleing the newsfeed, as well.



Sanjeev Ghane Gupta   Tel: +91(11) 6941831, 6946619
Eurolink Systems LtdFax: +91(11) 6943732
New Delhi, India  email: [EMAIL PROTECTED]
  Eurolink doesn't pay me to speak for it, so I don't
   Old age is not an accomplishment, nor youth a sin