Convert MAC to IP

2001-10-19 Thread Case, Benjamin
Are there any utilities to convert a MAC to an IP address. Is that even
possible ?



Kernel Error in Syslog and X keeps crashing!

2001-09-03 Thread Case, Benjamin
Every once in a while X just freezes up on me. I have to hard reboot. Weh I
come back up there is this message in syslog :

Sep  2 20:28:11 tbird kernel: NVRM: loading NVIDIA kernel module version
1.0-1251
Sep  2 20:41:31 tbird kernel: Unable to handle kernel paging request at
virtual address 2087844c
Sep  2 20:41:31 tbird kernel:  printing eip:
Sep  2 20:41:31 tbird kernel: c0217895
Sep  2 20:41:31 tbird kernel: *pde = 
Sep  2 20:41:31 tbird kernel: Oops: 
Sep  2 20:41:31 tbird kernel: CPU:0
Sep  2 20:41:31 tbird kernel: EIP:0010:[unix_poll+117/160]
Sep  2 20:41:31 tbird kernel: EFLAGS: 00010206
Sep  2 20:41:31 tbird kernel: eax:    ebx: d58783c0   ecx: 
edx: 7800
Sep  2 20:41:31 tbird kernel: esi: d59dbac0   edi:    ebp: d57dbf74
esp: d57dbf24
Sep  2 20:41:31 tbird kernel: ds: 0018   es: 0018   ss: 0018
Sep  2 20:41:31 tbird kernel: Process XFree86 (pid: 165, stackpage=d57db000)
Sep  2 20:41:31 tbird kernel: Stack: d59dbac0 c01e59c3 d59dbac0 d573aacc
  c013b5d6 d59dbac0
Sep  2 20:41:31 tbird kernel: 0020 0008 dfb09f80
0145 0008 d57da000 262f
Sep  2 20:41:31 tbird kernel:0003   cfa4a000
 c013ba2a 0010 d57dbfa8
Sep  2 20:41:31 tbird kernel: Call Trace: [sock_poll+35/48]
[do_select+230/480] [sys_select+810/1136] [system_call+51/56]
Sep  2 20:41:31 tbird kernel:
Sep  2 20:41:31 tbird kernel: Code: 3b 93 8c 00 00 00 0f 9e c0 0f b6 d0 89
c8 0d 04 03 00 00 85



Firwall Problems

2001-08-13 Thread Case, Benjamin
I just put together a new firewall at the house. It is a fresh install of
Potato with a 2.2.19pre17 re-rolled with IP Firewall support and the
IP-Masq-ftp, and IP-masw-pptp  modules installed. Then I installed IPCHAINS,
IPMASQ, and IPMASQADM. The box makes a pppoe connection to my DSL provider
at bootup and then it starts the masqrading. This generally works fine. But
I must have some prt block, becasue I cannot get out from behind the
firewall to certain ports (i.e. 1). With the ipmasq-modules I have no
problems with pptp or ftp from behind the wall. And most traffic is fine
(web, tribes2, etc.). I was going to modify some of the IPchains rules, but
I noticed this. When I flushed the rules IPCHAINS -F. They dissapeared, but
soon returned. How did they get back ? Also, I have not been able to get
ipmasqadm working. I have used this befoire without problems, but for some
reason my port forwards dont work. Any suggestions on determinig exactly
what I have forgotten. Why wont impasqadm work ? How can I fully manage this
firewall ? It seems krules are being applied from somewhere I have not
checked.

Thanks!

Ben



Debian Firewall

2001-07-24 Thread Case, Benjamin
I want to setup a firewall for my home LAN. I will have 5 - 10 PC's behind
it. It will be running on a PPro 233 w/ 80mb RAM, and 2 Intel 100mb NIC's. I
want a lot of features. I want a lot of features:

Security, Security, Security
SSH Daemon
NAT (Masq)
Port Forwarding
Graphical (web based ?) Network Analysis
PPPoE support
VPN support
Convenient Method of Configuration (Web based, GUI based ?)

I would also like it to be fairly upgradable. I love APT-GET, and would love
to have the core of this firewall be Debian so that I can do my updates with
this method. I also would like to experiment with the CISH (Cisco simulated)
shell provided by the Linux Router Project.

What is the best apporach to creating this Firewall. Should I start with my
own basic install of Debian and build from there ? Is there a floppy or CD
based image worth trying that is based on Debian ?

ben



Smaba problem

2001-07-24 Thread Case, Benjamin
I just installed smbclient on my Laptop. I have another Win2k box on my LAN.
I have shared a folder with Read access for Everyone. The Win2k pc is called
BEN. The shared directory is called SHARE. I run:

# smbclient BEN\\SHARE

This returns a request for a password. Since I gave Everyone access, I just
hit enter with no password.

Then I get Anonymous Login Successful
   Domain=[MYDOMAIN] OS=[Windows 5.0] Server=[Windows 2000 Lan
Manager]
   tree connect failed: ERRDOS - ERRnoaccess (access denied.) 


What am I doing wrong ??



PPPoE +Debian ?

2001-07-24 Thread Case, Benjamin
Where can I find documentation that will explain the install and usage of
PPPoE with Debian ?



Safe File Manager to run as root ?

2001-07-18 Thread Case, Benjamin
Is there such thing as a GUI File Manager that any security and safety
consious Debian users would use, as ROOT, to manage a file system (i.e.
move, copy, change permissions) ?? Is it just a better practice to use CLI
w/ suid to make those kind of changes.



PCMCIA Network driver.

2001-07-17 Thread Case, Benjamin
 I just got an ENCORE PCMCIA Netowrk Card. From their website I d/l the
 linux drivers. This consisted of these files:
 
 8390.c, gen1, gen2, and PCNET_CS.c. as well as a readme with the following
 instructions:
 
 16-bit 100/10M Fast Ethernet PCMCIA Adapter LINUX DRIVER INSTALL
  Note: this driver for linux 2.0.30
 
  1. copy driver to /FASTPCM
 # mcopy a:/* /FASTPCM
  
  2. download pcmcia-cs-3.0.x.tar.gz from hyper.stanford.edu
 in the /pub/pcmcia directory
 readme PCMCIA-HOWTO file  install it 
  
  3. add the following lines into /etc/pcmcia/config
 card 16-bit 100/10M Fast Ethernet PCMCIA Adapter
 version PCMCIA, 100BASE
 bind pcnet_cs
 
  4.# cd /FASTPCM
# chmod +x gen1 gen2
  
  5.# gen1
# gen2
  
  6.# reboot
  
 
 None of this is working. I have PCMCIA services working fine with another
 3com PCMCIA network card, so I think I have the SLOT configured properly.
 Is there anyway to simply compile that 8930.c file into 8930.o and
 'insmod' it ? I have never used linux on a laptop, and I have never worked
 with PCMCIA before. I assume the list doesnt like attachments, so if
 anyone is intereseted in the files, I will be happy to provide them. As an
 alternative I will make this e-mail extrememly long and attach the text of
 the files below:
 
 --
 --
 
 (/* 8390.c: A general NS8390 ethernet driver core for linux. */
 /*
   Written 1992-94 by Donald Becker.
   
   Copyright 1993 United States Government as represented by the
   Director, National Security Agency.
 
   This software may be used and distributed according to the terms
   of the GNU Public License, incorporated herein by reference.
 
   The author may be reached as [EMAIL PROTECTED], or C/O
   Center of Excellence in Space Data and Information Sciences
  Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771
   
   This is the chip-specific code for many 8390-based ethernet adaptors.
   This is not a complete driver, it must be combined with board-specific
   code such as ne.c, wd.c, 3c503.c, etc.
 
   Seeing how at least eight drivers use this code, (not counting the
   PCMCIA ones either) it is easy to break some card by what seems like
   a simple innocent change. Please contact me or Donald if you think
   you have found something that needs changing. -- PG
 
 
   Changelog:
 
   Paul Gortmaker  : remove set_bit lock, other cleanups.
   Paul Gortmaker  : add ei_get_8390_hdr() so we can pass skb's to 
 ei_block_input() for eth_io_copy_and_sum().
   Paul Gortmaker  : exchange static int ei_pingpong for a #define,
 also add better Tx error handling.
   Paul Gortmaker  : rewrite Rx overrun handling as per NS specs.
 
   
 
   Sources:
   The National Semiconductor LAN Databook, and the 3Com 3c503 databook.
 
   */
 
 static const char *version =
 8390.c:v1.10 9/23/94 Donald Becker ([EMAIL PROTECTED])\n;
 
 #include linux/module.h
 #include linux/kernel.h
 #include linux/sched.h
 #include linux/fs.h
 #include linux/types.h
 #include linux/ptrace.h
 #include linux/string.h
 #include asm/system.h
 #include asm/segment.h
 #include asm/bitops.h
 #include asm/io.h
 #include linux/errno.h
 #include linux/fcntl.h
 #include linux/in.h
 #include linux/interrupt.h
 
 #include linux/netdevice.h
 #include linux/etherdevice.h
 
 #include 8390.h
 
 // These are the operational function interfaces to board-specific
 // routines.
 //void reset_8390(struct device *dev)
 //Resets the board associated with DEV, including a hardware
 reset of
 //the 8390.  This is only called when there is a transmit
 timeout, and
 //it is always followed by 8390_init().
 //void block_output(struct device *dev, int count, const unsigned char
 *buf,
 //  int start_page)
 //Write the COUNT bytes of BUF to the packet buffer at
 START_PAGE.  The
 //page value uses the 8390's 256-byte pages.
 //void get_8390_hdr(struct device *dev, struct e8390_hdr *hdr, int
 ring_page)
 //Read the 4 byte, page aligned 8390 header. *If* there is a
 //subsequent read, it will be of the rest of the packet.
 //void block_input(struct device *dev, int count, struct sk_buff *skb,
 int ring_offset)
 //Read COUNT bytes from the packet buffer into the skb data
 area. Start 
 //reading from RING_OFFSET, the address as the 8390 sees it.
 This will always
 //follow the read of the 8390 header. 
 
 #define ei_reset_8390 (ei_local-reset_8390)
 #define ei_block_output (ei_local-block_output)
 #define ei_block_input (ei_local-block_input)
 #define ei_get_8390_hdr (ei_local-get_8390_hdr)
 
 /* use 0 for production, 1 for verification, 2 for debug */
 #ifdef EI_DEBUG
 int ei_debug = 

PCMCIA Network driver.

2001-07-17 Thread Case, Benjamin
I just got an ENCORE PCMCIA Netowrk Card. From their website I d/l the
linux drivers. This consisted of these files:

8390.c, gen1, gen2, and PCNET_CS.c. as well as a readme with the following
instructions:

16-bit 100/10M Fast Ethernet PCMCIA Adapter LINUX DRIVER INSTALL
 Note: this driver for linux 2.0.30

 1. copy driver to /FASTPCM
# mcopy a:/* /FASTPCM
 
 2. download pcmcia-cs-3.0.x.tar.gz from hyper.stanford.edu
in the /pub/pcmcia directory
readme PCMCIA-HOWTO file  install it 
 
 3. add the following lines into /etc/pcmcia/config
card 16-bit 100/10M Fast Ethernet PCMCIA Adapter
version PCMCIA, 100BASE
bind pcnet_cs

 4.# cd /FASTPCM
   # chmod +x gen1 gen2
 
 5.# gen1
   # gen2
 
 6.# reboot
 

None of this is working. I have PCMCIA services working fine with another
3com PCMCIA network card, so I think I have the SLOT configured properly. Is
there anyway to simply compile that 8930.c file into 8930.o and 'insmod' it
? I have never used linux on a laptop, and I have never worked with PCMCIA
before. I assume the list doesnt like attachments, so if anyone is
intereseted in the files, I will be happy to provide them. As an alternative
I will make this e-mail extrememly long and attach the text of the files
below:




(/* 8390.c: A general NS8390 ethernet driver core for linux. */
/*
Written 1992-94 by Donald Becker.
  
Copyright 1993 United States Government as represented by the
Director, National Security Agency.

This software may be used and distributed according to the terms
of the GNU Public License, incorporated herein by reference.

The author may be reached as [EMAIL PROTECTED], or C/O
Center of Excellence in Space Data and Information Sciences
   Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771
  
  This is the chip-specific code for many 8390-based ethernet adaptors.
  This is not a complete driver, it must be combined with board-specific
  code such as ne.c, wd.c, 3c503.c, etc.

  Seeing how at least eight drivers use this code, (not counting the
  PCMCIA ones either) it is easy to break some card by what seems like
  a simple innocent change. Please contact me or Donald if you think
  you have found something that needs changing. -- PG


  Changelog:

  Paul Gortmaker: remove set_bit lock, other cleanups.
  Paul Gortmaker: add ei_get_8390_hdr() so we can pass skb's to 
  ei_block_input() for eth_io_copy_and_sum().
  Paul Gortmaker: exchange static int ei_pingpong for a #define,
  also add better Tx error handling.
  Paul Gortmaker: rewrite Rx overrun handling as per NS specs.

  

  Sources:
  The National Semiconductor LAN Databook, and the 3Com 3c503 databook.

  */

static const char *version =
8390.c:v1.10 9/23/94 Donald Becker ([EMAIL PROTECTED])\n;

#include linux/module.h
#include linux/kernel.h
#include linux/sched.h
#include linux/fs.h
#include linux/types.h
#include linux/ptrace.h
#include linux/string.h
#include asm/system.h
#include asm/segment.h
#include asm/bitops.h
#include asm/io.h
#include linux/errno.h
#include linux/fcntl.h
#include linux/in.h
#include linux/interrupt.h

#include linux/netdevice.h
#include linux/etherdevice.h

#include 8390.h

// These are the operational function interfaces to board-specific
// routines.
//  void reset_8390(struct device *dev)
//  Resets the board associated with DEV, including a hardware
reset of
//  the 8390.  This is only called when there is a transmit
timeout, and
//  it is always followed by 8390_init().
//  void block_output(struct device *dev, int count, const unsigned char
*buf,
//int start_page)
//  Write the COUNT bytes of BUF to the packet buffer at
START_PAGE.  The
//  page value uses the 8390's 256-byte pages.
//  void get_8390_hdr(struct device *dev, struct e8390_hdr *hdr, int
ring_page)
//  Read the 4 byte, page aligned 8390 header. *If* there is a
//  subsequent read, it will be of the rest of the packet.
//  void block_input(struct device *dev, int count, struct sk_buff *skb,
int ring_offset)
//  Read COUNT bytes from the packet buffer into the skb data
area. Start 
//  reading from RING_OFFSET, the address as the 8390 sees it.
This will always
//  follow the read of the 8390 header. 

#define ei_reset_8390 (ei_local-reset_8390)
#define ei_block_output (ei_local-block_output)
#define ei_block_input (ei_local-block_input)
#define ei_get_8390_hdr (ei_local-get_8390_hdr)

/* use 0 for production, 1 for verification, 2 for debug */
#ifdef EI_DEBUG
int ei_debug = EI_DEBUG;
#else
int ei_debug = 1;
#endif

/* Index to functions. */
static void 

Sound Support

2001-07-17 Thread Case, Benjamin
I apt-got the kernel-source-2.4.6. I have compiled a kernel and it works
great. I just d/l the source for pcmcia-cs and comiled that and I use that
module now too. I just realized I forgot the modules for my Soundblaster.
How can I add the necessary modules for this card without having to
re-compile? 

ben



AX88190 Chipset Not Supported ?

2001-07-17 Thread Case, Benjamin
I have found alot of postings , via a google search, that the AX88190
chipset for my PCMCIA network adapter is not supported in the 2.4.x kernels.
I am unable to get the drivers provided by ASIX (the company that makes the
chips). Has anyone had any experience getting this card to work ? This is
the dmesg quote for the card:

pcnet_cs: sorry, the AX88190 chipset is not supported.
pcnet_cs: unable to read hardware net address for io base 0x300.

thanks,

ben



Kernel Compilation Error

2001-07-16 Thread Case, Benjamin
I just apt-got the kernel-source-2.4.6. I make menuconfiged it and then I
make-kpkg cleaned it, and ran make-kpkg --revision custom.1 kernel_image.
About 10 minutes in to the compilation it stops with this message:

install: cannot stat 'debian/README.debian': No such file or directory
debian/tmp-source/usr/share/doc/kernel-image-2.4.6/Readme.Debian.1st: No
such file or directory
make: *** [kernel-image-deb] Error 1

What have I done wrong ?

Ben



[no subject]

2001-07-16 Thread Case, Benjamin
I am installing Debian on a Toshiba Tecra 8000. I just rolled 2.4.6 in and I
am getting this strainge error :

cs: socket cff13800 time out durring reset. Try increasing setup delay.

This message continually pops up. Anyone know what this is ?

Ben



2.4.6 Kernel Error

2001-07-16 Thread Case, Benjamin

Oops...I forgot a subject...howabout this: 2.4.6 Kernel Error

-Original Message-
From: Case, Benjamin [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2001 12:57 PM
To: 'debian-user@lists.debian.org'
Subject: 


I am installing Debian on a Toshiba Tecra 8000. I just rolled 2.4.6 in and I
am getting this strainge error :

cs: socket cff13800 time out durring reset. Try increasing setup delay.

This message continually pops up. Anyone know what this is ?

Ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



Newbie

2001-07-13 Thread Case, Benjamin
Ok..I just moved into a new house and my DSL wont get hooked up for another
week. I have a 28.8 dialup account, but that isnt much for getting most
packages. I went ahead and burned the 3 ISO's for Debian 2.2r3 (Potato). I
want to run UNSTABLE though. Where can I d/l all the UNSTABLE packages to a
CD for use with APT-GET ?

ben



SID out of Date ??

2001-07-13 Thread Case, Benjamin
 I am currently d/l all the SID Cd images from
 ftp://ftp.uni-bremen.de/pub/mirrors/debian_cdimages/debian-unofficial/sid/
 . 
 I noticed that they are all dated 3/10/2001. How far behind will these
 discs be ?
 
 ben



More SID CD Image questions.

2001-07-13 Thread Case, Benjamin
OK.. I am d/l all of the SID CD's from
ftp://ftp.uni-bremen.de/pub/mirrors/debian_cdimages/debian-unofficial/sid/ .

Would it be possible to mount those images without burning them to CD. If
so, how would I do that ? 

ben



RE: SID out of Date ??

2001-07-13 Thread Case, Benjamin
That makes complete sence. Is 3/10 ancient times as far as SID is concerned
? I just want to work with the 2.4 kernel, some Xfree 4 stuff, and I know
that there are SID level dependancies that I will need to meet for those.
This is just temporary until my DSL comesso I am d/l all of SID to have
for the next week or so. Does that sound like a good apporach, or am I goin
overboard. I just dont want to find myself in search of Packages without any
internet to get them with.

ben

-Original Message-
From: D-Man [mailto:[EMAIL PROTECTED]
Sent: Friday, July 13, 2001 3:41 PM
To: 'debian-user@lists.debian.org'
Subject: Re: SID out of Date ??


On Fri, Jul 13, 2001 at 03:53:45PM -0400, Case, Benjamin wrote:
|  I am currently d/l all the SID Cd images from
| 
ftp://ftp.uni-bremen.de/pub/mirrors/debian_cdimages/debian-unofficial/sid/
|  . 
|  I noticed that they are all dated 3/10/2001. How far behind will these
|  discs be ?

They'll be as out-of-date as the date on them.  Sid changes constantly
as developers upload new packages.  Any CD is, therefore, out-of-date
almost immediately after its creation.  If you want CDs that aren't
out-of-date get Potato discs.  Of course, much of the software in
Potato is out-of-date because development has continued.  :-)

-D


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



AMD T-Bird + Potato = ?

2001-07-13 Thread Case, Benjamin
How well does the 2.2.19pre17 kernel in Potato? Should I prepare for any
know issues ? I just got a new system with an AMD tbird 1ghz, and 512mb DDR.

ben