ulf kypke | 3 Dec 2005 02:02
Picon

change mac address for wan interface

hi,
i realized that datastore can change the mac address for the wan interface.
a little sticker on the box gives two macs, one for the switch one for the wan port, the wan' s mac address is +1 compair to the lan's mac address.
so now i can change the mac by using the setoid command, but how can i make it active?

# getoid eth2 0x0 mac
00:60:b3:06:54:20

# setoid eth2 0x0 mac aa:bb:cc:dd:ee:ff

# getoid eth2 0x0 mac
AA:BB:CC:DD:EE:FF

now the mac is changed but not active!
ifconfig eth2 give the original mac output, not the new one.
in compair to the changes i made with the wifi device, eth1, i have to set the ssid by using setoid eth1 0x10000002 ssid 'the essid for the net' once to set the device down and a second time to set the device up again, that the changes i made are active, foe example to change the channel.

any ideas?

thanks ulf




Rafisko | 5 Dec 2005 09:43
Picon
Favicon

AP-600RP-USB firmware by tftp and another problems...

Welcome all
On last week I uptade my firmware by apfw_minimal.img and I can't do somethings with it (I don't know linux) next I wanted to back to oryginal firmware 7.0, after view hours I do with succes!
below instruction (by german but it's simply):
 
AP-600RP
Firmware flashen
1. AP in „Recovery Mode“ bringen.
a. Strom abstecken
b. Reset Taste drücken und halten
c. Strom anstecken
d. Nach einer Sekunde Reset Taste loslassen.
e. Der AP ist jetzt auf IP 192.0.2.93
 
2. Firmware einspielen
a. PC mit Netzwerkkabel an den AP anstecken
b. PC NIC im Adressbereich 192.0.2.x einstellen
c. Ping auf AP sollte funktionieren
d. Im DOS-Fenster folgenden Befehl absetzen C:\ tftp –i 192.0.2.93 put firmware.img
e. Das file firmware.img sollte auf c:\ im root liegen
f. Nach erfolgreicher Datenübertragung, 1 Minute warten.
g. Strom vom AP abstecken
 
3. AP GUI einspielen (bei Bedarf) (this step I do by TFTP1100.exe simply aplication to upgrade web fileset)
a. AP an den Strom stecken
b. 1 Minute warten
c. PC im Adressbereich 192.168.1.x einstellen
d. Ping auf AP, 192.168,1,254, sollte funktionieren
e. Im Dos-Fenster folgenden Befehl absetzen C:\ tftp –i 192.168.1.254 put gui.img connect
f. Das file gui.img sollte auf C:\ im root liegen
g. Nach erfolgreicher Datenübertragung, 1 Minute warten
h. AP neu starten
 
Now my router work, but I still have one troble with it:
In log I have:
"Error Network 800 DHCP Client: Socket operation SIOCADDRT failed"
If connect to WAN my ISP (cable modem - dynamic IP maping to MAC) my router doesn't take DNS to ethernet carsd (I must take DNS manual in ethernet card) and I can't print. But when I restart router without connected to WAN my ISP all is ok, ethernet cards take automatickly DNS (168.95.1.1) ad printer works corectly.
And one more, when I mapping IP in DHCP settings it reset with restart router (restart=pug out and plug in power cord).
 
I need firmware 7.3.3 but I can't find it. Someone have it? can send me by e-mail or upload and take link?
 
 
________________________________________
 
RaaF - Rafał Skorupa
ul.Kaliska 81/19, 87-800 Włocławek
tel.: /54/ 235 28 16, kom.: 604 327 321
www.raaf.webpark.pl, www.fotoraaf.webpark.pl
Rafisko | 5 Dec 2005 20:30
Picon
Favicon

mesage to "stn21"

Dear stn21
you writen to Alvaro if you have firmware AP-600RP-USB 7.3.3, please send me it (below my e-mail adres). I write to FSC and they no public fw 7.3.3 becouse it's still tested. 
They said: "we have got but we dnon't give you".
________________________________________
 
RaaF - Rafał Skorupa
rafisko <at> wp.pl
Roland Mieslinger | 29 Dec 2005 15:04
Picon
Picon

Re: change mac address for wan interface

Hi Ulf,

late response to your mail, but maybe useful.

I'm trying to setup a wireless bridge at the moment, so I've downloaded
the sources from linksys for their wet54v2 (this device is sold as
bridge).

One can compile a running image from this sources, with support for
ebtables. ebtables is a layer 2 firewall (aka. stealth firewall), it
offers access control and "mac nat". 

BTW: linksys wet54gv2s5 is an isl3983 based 5 port and wlan bridge
(unlisted on project page), with very cool features like port based vlan
tagging, QoS, port mirroring (for e. g. IDS), layer 2 access lists. The
sources are available, but didn't compile out of box (smidump is not in
toolchain). I can post a workaround if someone is interested. I've it
running on an AP600.

Roland

On Sat, 2005-12-03 at 02:02 +0100, ulf kypke wrote:
> hi, 
> i realized that datastore can change the mac address for the wan
> interface.
> a little sticker on the box gives two macs, one for the switch one for
> the wan port, the wan' s mac address is +1 compair to the lan's mac
> address.
> so now i can change the mac by using the setoid command, but how can i
> make it active?
> 
> # getoid eth2 0x0 mac
> 00:60:b3:06:54:20
> 
> # setoid eth2 0x0 mac aa:bb:cc:dd:ee:ff
> 
> # getoid eth2 0x0 mac
> AA:BB:CC:DD:EE:FF
> 
> now the mac is changed but not active!
> ifconfig eth2 give the original mac output, not the new one.
> in compair to the changes i made with the wifi device, eth1, i have to
> set the ssid by using setoid eth1 0x10000002 ssid 'the essid for the
> net' once to set the device down and a second time to set the device
> up again, that the changes i made are active, foe example to change
> the channel.
> 
> any ideas?
> 
> thanks ulf
> 
> 
> 
> 

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Ruben Faelens | 30 Dec 2005 11:50
Picon

Re: Isl3893-devel digest, Vol 1 #96 - 1 msg

isl3893-devel-request <at> lists.sourceforge.net wrote:
> Send Isl3893-devel mailing list submissions to
> 	isl3893-devel <at> lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/isl3893-devel
> or, via email, send a message with subject or body 'help' to
> 	isl3893-devel-request <at> lists.sourceforge.net
> 
> You can reach the person managing the list at
> 	isl3893-devel-admin <at> lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Isl3893-devel digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: change mac address for wan interface (Roland Mieslinger)
> 
> --__--__--
> 
> Message: 1
> Subject: Re: [Isl3893-devel] change mac address for wan interface
> From: Roland Mieslinger <rmie <at> gmx.de>
> Reply-To: rmie <at> gmx.de
> To: ulf kypke <u.kypke <at> gmail.com>
> Cc: isl3893-devel <at> lists.sourceforge.net
> Date: Thu, 29 Dec 2005 15:04:12 +0100
> 
> Hi Ulf,
> 
> late response to your mail, but maybe useful.
> 
> I'm trying to setup a wireless bridge at the moment, so I've downloaded
> the sources from linksys for their wet54v2 (this device is sold as
> bridge).
> 
> One can compile a running image from this sources, with support for
> ebtables. ebtables is a layer 2 firewall (aka. stealth firewall), it
> offers access control and "mac nat". 
> 
> BTW: linksys wet54gv2s5 is an isl3983 based 5 port and wlan bridge
> (unlisted on project page), with very cool features like port based vlan
> tagging, QoS, port mirroring (for e. g. IDS), layer 2 access lists. The
> sources are available, but didn't compile out of box (smidump is not in
> toolchain). I can post a workaround if someone is interested. I've it
> running on an AP600.
> 
> Roland
> 
> On Sat, 2005-12-03 at 02:02 +0100, ulf kypke wrote:
> 
>>hi, 
>>i realized that datastore can change the mac address for the wan
>>interface.
>>a little sticker on the box gives two macs, one for the switch one for
>>the wan port, the wan' s mac address is +1 compair to the lan's mac
>>address.
>>so now i can change the mac by using the setoid command, but how can i
>>make it active?
>>
>># getoid eth2 0x0 mac
>>00:60:b3:06:54:20
>>
>># setoid eth2 0x0 mac aa:bb:cc:dd:ee:ff
>>
>># getoid eth2 0x0 mac
>>AA:BB:CC:DD:EE:FF
>>
>>now the mac is changed but not active!
>>ifconfig eth2 give the original mac output, not the new one.
>>in compair to the changes i made with the wifi device, eth1, i have to
>>set the ssid by using setoid eth1 0x10000002 ssid 'the essid for the
>>net' once to set the device down and a second time to set the device
>>up again, that the changes i made are active, foe example to change
>>the channel.
>>
>>any ideas?
>>
>>thanks ulf
>>
>>
>>
>>
> 
> 
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> Isl3893-devel mailing list
> Isl3893-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isl3893-devel
> 
> 
> End of Isl3893-devel Digest
> 

I am very interested. If you could post a little guide on how to compile 
the sources, I would be grateful.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Geert Stappers | 30 Dec 2005 22:38
Picon
Favicon

Re: change mac address for wan interface

On Fri, Dec 30, 2005 at 11:50:18AM +0100, Ruben Faelens wrote:
> >From: Roland Mieslinger <rmie <at> gmx.de>
> >Date: Thu, 29 Dec 2005 15:04:12 +0100
> >
> >Hi Ulf,
> >
> >late response to your mail, but maybe useful.
> >
> >I'm trying to setup a wireless bridge at the moment, so I've downloaded
> >the sources from linksys for their wet54v2 (this device is sold as
> >bridge).
> >
> >One can compile a running image from this sources, with support for
> >ebtables. ebtables is a layer 2 firewall (aka. stealth firewall), it
> >offers access control and "mac nat". 
> >
> >BTW: linksys wet54gv2s5 is an isl3983 based 5 port and wlan bridge
> >(unlisted on project page), with very cool features like port based vlan
> >tagging, QoS, port mirroring (for e. g. IDS), layer 2 access lists. The
> >sources are available, but didn't compile out of box (smidump is not in
> >toolchain). I can post a workaround if someone is interested. I've it
> >running on an AP600.
> >
> 
> I am very interested. If you could post a little guide on how to compile 
> the sources, I would be grateful.

Having something on http://isl3893.sourceforge.net 
 (other then an error message ;-)
is surely a good thing.

GSt
Roland Mieslinger | 31 Dec 2005 00:38
Picon
Picon

Re: Re: Isl3893-devel digest, Vol 1 #96 - 1 msg

Hi Ruben,

i'm using wet54gs5-v4.91.tar.bz2 installed in /tmp/wet54gs5 and the
stripped-toolchain installed in /opt/uclinux_tools_1.6.0.0 . I'm using
Fedora Core 4 as build system.

#cd /tmp/wet54gs5/Software/firmware/uClinux
#make menuconfig
kept values untouched, exit and save config.

#cd /tmp/wet54gs5/Software/firmware/uClinux/kernel
#make menuconfig
kept values untouched, exit and save config.

#cd /tmp/wet54gs5/Software/firmware/apfw
#make image

This fails with an error "smidump not found". Building smidump from
sources didn't solve the problem as next error will be "smidump: invalid
dump format `IslSchema' - supported formats are ... ".

The only reason for smidump is to create the file /etc/schema later
found in the romfs. The trick is to get this file from the binary
firmware from linksys (don't try without it ends up in a boot loop :-) )

I found two ways to get it.
- install the linksys firmware on a router and copy it (easy way but
  serial access needed as shelld is disabled)
  default ip is 192.168.1.266 
  username is admin, password is admin 
  you can use mount or nc to transfer the file
  ( mount -t nfs -o nolock,rsize=4096,wsize=4096,nfsvers=3 ... works, 
    but don't miss no_root_squash in /etc/exports ) 

- extract it from binary (the hackers choice)
  The firmware contains a gzip compressed kernel with the a root
  filesystem (details at http://www.warp.at/projects/wg602.html)

  Open firmeware with hexedit, search for gzip file magic
  (1F8B08) remove everything before and save as kernel.gz

  gunzip kernel.gz (you should have a file called kernel now)

  Open kernel in hexedit, serach for -rom1fs- (2D726F6D3166732D), 
  remove everything before and save as fs.img

  you can mount the romfs with:
  mount -o loop -t romfs fs.img /moute/where/you/like/it

  You should now find a file schema in dir etc.

copy schema to
/tmp/wet54gs5/Software/firmware/uClinux/apps-non-gpl/datastore/etc/
  
and 

#cd /tmp/wet54gs5/Software/firmware/apfw
#make image

In my case this ends with a firmeware working on a AP600. I have
problems installing the firmware in "rescue mode" as I always got "image
size exceeds flash size". So you have to boot with another firmware
first and update then to your firmware.

Roland

> I am very interested. If you could post a little guide on how to compile 
> the sources, I would be grateful.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Isl3893-devel mailing list
> Isl3893-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isl3893-devel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

Gmane