MAC Addresses (Linksys Printserver)

MAC Addresses (Linksys Printserver)

Post by Chen Coulte » Thu, 22 Jun 2000 04:00:00



Hi all!

I'm installing a Linksys EPSX3 Printserver on my inhouse test
network consisting of an OpenServer 5.0.5 box networked through
a 3Com 4 port switch to a Windows 98 2nd edition PC.  The
instructions indicate that the MAC address for the printserver
can be derived from the Server Name listed on the bottom of
the unit by replacing the "SC" prefix with what I presume is the
Linksys MAC prefix of 00:C0:02.  I need to be able to set the
IP address and usually I do this with an "arp -s" command that
requires the MAC address.  However, the printserver is not
responding when I do this.

Therefore, is there a way that I can ask for all the MAC addresses
on the network to display?  Obviously, I can get the address for
the NIC in the SCO machine, but how do I see every address on
the network?

Any ideas?

Thanks for your help,

Ken

 
 
 

MAC Addresses (Linksys Printserver)

Post by Karel Adam » Thu, 22 Jun 2000 04:00:00




Quote:> Hi all!

> I'm installing a Linksys EPSX3 Printserver on my inhouse test
> network consisting of an OpenServer 5.0.5 box networked through
> a 3Com 4 port switch to a Windows 98 2nd edition PC.  The
> instructions indicate that the MAC address for the printserver
> can be derived from the Server Name listed on the bottom of
> the unit by replacing the "SC" prefix with what I presume is the
> Linksys MAC prefix of 00:C0:02.  I need to be able to set the
> IP address and usually I do this with an "arp -s" command that
> requires the MAC address.  However, the printserver is not
> responding when I do this.

> Therefore, is there a way that I can ask for all the MAC addresses
> on the network to display?  Obviously, I can get the address for
> the NIC in the SCO machine, but how do I see every address on
> the network?

> Any ideas?

> Thanks for your help,

> Ken

Can't help you with the MAC-adresses. I remember having a similar problem
with a similar print-server and solving it with a utility (supplied with the
print server) that used IPX/SPX to access the print server from a Windoze
box.
Karel.

 
 
 

MAC Addresses (Linksys Printserver)

Post by Chen Coulte » Thu, 22 Jun 2000 04:00:00





> > Hi all!

> > I'm installing a Linksys EPSX3 Printserver on my inhouse test
> > network consisting of an OpenServer 5.0.5 box networked through
> > a 3Com 4 port switch to a Windows 98 2nd edition PC.  The
> > instructions indicate that the MAC address for the printserver
> > can be derived from the Server Name listed on the bottom of
> > the unit by replacing the "SC" prefix with what I presume is the
> > Linksys MAC prefix of 00:C0:02.  I need to be able to set the
> > IP address and usually I do this with an "arp -s" command that
> > requires the MAC address.  However, the printserver is not
> > responding when I do this.

> > Therefore, is there a way that I can ask for all the MAC addresses
> > on the network to display?  Obviously, I can get the address for
> > the NIC in the SCO machine, but how do I see every address on
> > the network?

> > Any ideas?

> > Thanks for your help,

> > Ken

> Can't help you with the MAC-adresses. I remember having a similar problem
> with a similar print-server and solving it with a utility (supplied with the
> print server) that used IPX/SPX to access the print server from a Windoze
> box.
> Karel.

Karel:

Yes, I know that I can set the IP address through the Windoze utilities.
However, I'm going to be faced with situations where customers want
to use these printservers in strictly an OpenServer environment.  Hence,
my need to be able to set the IP address from SCO.

Thanx,

Ken

 
 
 

MAC Addresses (Linksys Printserver)

Post by Jeff Lieberman » Thu, 22 Jun 2000 04:00:00


On Wed, 21 Jun 2000 05:19:36 GMT, Chen Coulter


>I'm installing a Linksys EPSX3 Printserver on my inhouse test
>network consisting of an OpenServer 5.0.5 box networked through
>a 3Com 4 port switch to a Windows 98 2nd edition PC.

Duz the Windoze 98 box successfully print to the Linksys using TCP/IP?
If so, you can run:
        arp -a
on the Windoze box to get the exact MAC address.

Quote:>The
>instructions indicate that the MAC address for the printserver
>can be derived from the Server Name listed on the bottom of
>the unit by replacing the "SC" prefix with what I presume is the
>Linksys MAC prefix of 00:C0:02.

Correct.  See:
        http://www.linksys.com/faqs/default.asp?fqid=7
at the bottom.  

Quote:>I need to be able to set the
>IP address and usually I do this with an "arp -s" command that
>requires the MAC address.  However, the printserver is not
>responding when I do this.

How are you testing if it responds?
What error message did you get?
What does:  arp -a  display?

Ping is sufficient for testing.
        arp -s 192.168.1.1 00:c0:02:xx:xx:xx
        ping 192.168.1.1
You should get a response.  If not, check what happens with:
        arp -a
        arp -S

Quote:>Therefore, is there a way that I can ask for all the MAC addresses
>on the network to display?

Yeah.  I scribbled a MAC address scanner the assigns an IP address to
a given MAC address and attempts to ping that address.  It then
assigns the same IP address to the next MAC address.  To give the
device time to respond, I wait 1 second between polls.  To scan the
entire 00:c0:02 block of 16,777,216 million MAC addresses, it would
take only 194 days to scan all the possible MAC addresses.  I'll be
happy to supply the code (if I can find it), but I don't think it's
what you want.

If your LAN happens to be rather simple, with only a few machines in a
Class C network, you could easily just sequentially ping each of the
256 IP addresses and use:
        apr -a
to display the results.  That goes rather quickly.  However, you will
NOT get a response from a machine that does not have an IP address,
and that's the current problem.

Quote:>Obviously, I can get the address for
>the NIC in the SCO machine, but how do I see every address on
>the network?

Well, running:
        arp -a
will show what the OSR5 box sees.  You could use SNMP to interrogate
the arp cache, but the number of machine MAC addresses that SNMP
stores is rather limited (about 16 ???).  You could use a network
sniffer program or tcpdump on OSR5 to capture packets and extract the
MAC addresses.  (I use netmon from MS SMS 1.1 for sniffing).

Quote:>Any ideas?

Ideas are a dime per dozen.  Solutions are considerably more
expensive.

--

150 Felker St #D  Santa Cruz CA  95060
831-421-6491 pager   831-429-1240 fax
http://www.cruzio.com/~jeffl/sco/   SCO stuff

 
 
 

1. Redhat 5.2 and linksys printserver

My linksys router has a linksys printserver hanging off it.  I can't
access the printserver.

The router has IP address 192.168.1.1 and the print server has
192.168.1.10.  Which should be in my printcap?

I tried the following:

From my home directory (not root) I try to print
% lpr -Plp0 oc1.log
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.

login as root and cd to /var/spool/lpd/lp0

/var/spool/lpd/lp0

the status file gives me an error message

waiting for 192.168.1.1 to come up

so I kill lpd

root       242  0.0  0.2   784   336  ?  S    23:48   0:00 lpd
root       247  0.0  0.3   864   500  ?  S    23:48   0:00 lpd


and I try to restart it

lp0:
        no daemon to abort
lp0:
/usr/sbin/lpc: connect: No such file or directory
        couldn't start daemon

What does connect: No such file or directory mean?

I can ping both IP addresses:

% ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.9 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.8 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.8 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.8 ms

--- 192.168.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.8/0.8/0.9 ms
%
%
% ping 192.168.1.10
PING 192.168.1.10 (192.168.1.10): 56 data bytes
64 bytes from 192.168.1.10: icmp_seq=0 ttl=30 time=9.6 ms
64 bytes from 192.168.1.10: icmp_seq=1 ttl=30 time=7.0 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=30 time=7.1 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=30 time=7.1 ms

--- 192.168.1.10 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 7.0/7.7/9.6 ms

Suggestions for the next step?

Dave

2. Unable to write data to disk ad2! (5.0)

3. linksys printserver with redhat 5.2

4. solaris multicast

5. Linksys PrintServers

6. Remote modem login setup .. how ?

7. LinkSys Pocket Printserver

8. newbie - linux client box problem

9. Linksys EPSX3 3 Port printserver

10. Linksys 3-Port PrintServer & SCO 5.0.4 - Any sucess?

11. Linksys Printserver Epsx3 on Redhat 7.3

12. printing from RH6.2 via linksys printserver

13. Linksys PrintServer: Any using one?