DD-WRT support for verizon 7501 bulit by westell

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 30, 31, 32 ... 53, 54, 55  Next
Author Message
BBBexodus
DD-WRT Novice


Joined: 03 Aug 2010
Posts: 14

PostPosted: Fri Aug 06, 2010 3:43    Post subject: Reply with quote
I haven't got the 7501 working as an xbox/ps2/oldOS wifi bridge yet. The firewall is in the way I think, right now I am doing something different, just letting it lay idle but connected as a client, completely unplugged, hosting a web page, the first few times I let it idle as a client it lost the connection after about 20 minutes, but right now it's been alive for 9 hours. I set it so that it pings the main router once every 10 minutes.

The wl channel 11 should be your channel #wl channel yourchannel, in your case 10.

Were you able to get a dhcp lease?
Join your SSID:
#wl join MySSID key XXXXXXXX
I didn't try WEP myself, if that doesn't work try this:
#wl join MySSID key XXXXXXXX amode shared
then grab a lease do:
#udhcpc -i wl0.
If everything is working right you should get a leased ip. Set the leased ip to #ifconfig wl0 leased_ip. Now see if you can ping your main router. If you can ping your main router at this point you can start ftpd or httpd and serve files as a client on your network.
After that you can add the route and the name servers and open up your 7501 to the world, but it is unnecessary for the above.
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --table nat -A POSTROUTING -o wl0 -j MASQUERADE

Doesn't work yet. That is for an xbox you'd like to connect. On the "xbox", I tested a linux live CD in my computer with the 7501 as the only live connection. If I ping www.yahoo.com from the live cd it will resolve the right ip, but not actually gather the packets that means the 7501 is blocking the traffic.
Sponsor
BBBexodus
DD-WRT Novice


Joined: 03 Aug 2010
Posts: 14

PostPosted: Fri Aug 06, 2010 3:48    Post subject: Reply with quote
Rhandy wrote:
Yes I know but i get an error:

--- Trace Route Test Results ---
unable to perform Trace Route test

Fire up your telnet client and connect to your 7501's ip.
Rhandy
DD-WRT Novice


Joined: 04 Aug 2010
Posts: 19

PostPosted: Fri Aug 06, 2010 3:52    Post subject: Reply with quote
So, it doesn't require the User and Password?
davy_gravy
DD-WRT User


Joined: 05 Jun 2010
Posts: 159

PostPosted: Fri Aug 06, 2010 4:32    Post subject: Reply with quote
@ Rhandy, nope.

Just use the telnetd hack in the traceroute window, and
Code:
/&/& /sbin/telnetd

then press the traceroute button...

...then, in a terminal window:

Code:
telnet <ip-address-of-your-7501>

Code:

davygravy@bitbaker64:~$ telnet 192.168.11.194
Trying 192.168.11.194...
Connected to 192.168.11.194.
Escape character is '^]'.



BusyBox v1.1.3 (2008.05.13-21:27+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

#


Rhandy wrote:
So, it doesn't require the User and Password?


No, and that is why it is so important to remember to not have it running all the time - during normal use. Passwords are clearly visible inside it, if you know where to look.
baba2s
DD-WRT Novice


Joined: 23 Sep 2006
Posts: 43

PostPosted: Fri Aug 06, 2010 13:49    Post subject: Wireless Client Reply with quote
Thanks BBBexodus
some success, thank you
now i can ping my local network and also able to ping www.yahoo.com from telnet window.
but i cannot browse internet from LAN connected PC. As you said earlier , we need to remove the firewall.
Following are the commands which worked


/&/& /sbin/telnetd
wl ap 0
wl wsec 1
wl wet 1
wl channel 10
wl scan
wl scanresults
brctl delif br0 wl0
ifconfig br2 down
killall udhcpc
cd /var/net_mgr/exec
./FirewallInit
./FirewallNone
wl join baba1s key 11111111111111111111111111
ifconfig wl0 192.168.1.161
route add default gw 192.168.1.1 wl0
echo "nameserver 4.2.2.1" > /var/etc/resolv.conf
echo "nameserver 4.2.2.2" >> /var/etc/resolv.conf
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --table nat -A POSTROUTING -o wl0 -j MASQUERADE

Now guru's , someone can help us to fix the routing/firewall issue ?
Here is the route output..

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
239.255.255.250 hubrouter 255.255.255.255 UGH 0 0 0 br0
127.0.0.1 hubrouter 255.255.255.255 UGH 0 0 0 br0
192.168.1.0 * 255.255.255.0 U 0 0 0 wl0
192.168.200.0 * 255.255.255.0 U 0 0 0 br0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wl0
#

Code:
# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
logInboundBlocked  all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB
LISHED
logInboundBlocked  all  --  anywhere             anywhere            state INVAL
ID
inlan_level_input_filter  all  --  anywhere             anywhere
logInboundPermitted  udp  --  anywhere             anywhere            udp dpt:5
20
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:80
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:443
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:2420
ACCEPT     udp  --  anywhere             anywhere            udp dpt:2420
logInboundPermitted  icmp --  anywhere             anywhere
logInboundPermitted  udp  --  anywhere             anywhere            udp dpt:6
7
logInboundBlocked  udp  --  anywhere             anywhere            udp dpt:68
logInboundPermitted  udp  --  anywhere             anywhere            udp dpt:5
3
logInboundPermitted  tcp  --  anywhere             anywhere            tcp dpt:2
2
logInboundPermitted  tcp  --  anywhere             anywhere            tcp dpt:2
3
logInboundPermitted  igmp --  anywhere             anywhere
proto_chain  all  --  anywhere             anywhere
algports_filter  all  --  anywhere             anywhere
inlan_default_input_filter  all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT     udp  --  anywhere             BASE-ADDRESS.MCAST.NET/4
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S
YN TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S
YN TCPMSS clamp to PMTU
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB
LISHED
ipptfwd_filter  all  --  anywhere             anywhere
portforward_filter  all  --  anywhere             anywhere
logInboundBlocked  all  --  anywhere             anywhere            state INVAL
ID
forward_check  all  --  anywhere             anywhere
logInboundBlocked  all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
logOutboundPermitted  all  --  anywhere             anywhere
logforwarddrop  all  --  anywhere             anywhere

Chain OUTPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             192.168.189.0/24
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB
LISHED
outlan_default_output_filter  all  --  anywhere             anywhere

Chain algports_filter (4 references)
target     prot opt source               destination

Chain forward_check (1 references)
target     prot opt source               destination

Chain inlan_default_input_filter (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain inlan_level_input_filter (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain inwan_default_forward_filter (1 references)
target     prot opt source               destination
logInboundBlocked  all  --  anywhere             anywhere

Chain inwan_default_input_filter (1 references)
target     prot opt source               destination
logInboundBlocked  all  --  anywhere             anywhere

Chain inwan_forward_filter (0 references)
target     prot opt source               destination
inwan_level_forward_filter  all  --  anywhere             anywhere
wantrig_filter  all  --  anywhere             anywhere
proto_chain  all  --  anywhere             anywhere
algports_filter  all  --  anywhere             anywhere
inwan_default_forward_filter  all  --  anywhere             anywhere
algports_filter  all  --  anywhere             anywhere

Chain inwan_input_filter (0 references)
target     prot opt source               destination
DROP       udp  --  anywhere             BASE-ADDRESS.MCAST.NET/4
logInboundPermitted  udp  --  anywhere             anywhere            udp spt:5
3 dpts:1024:65535
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB
LISHED
logInboundBlocked  all  --  anywhere             anywhere            state INVAL
ID
inwan_level_input_filter  all  --  anywhere             anywhere
logInboundBlocked  all  --  anywhere             192.168.189.0/24
logInboundPermitted  udp  --  anywhere             anywhere            udp dpt:5
20
logInboundPermitted  tcp  --  anywhere             anywhere            tcp dpt:4
567
logInboundBlocked  tcp  --  anywhere             anywhere            tcp dpt:80
logInboundBlocked  tcp  --  anywhere             anywhere            tcp dpt:443

logInboundBlocked  udp  --  anywhere             anywhere            udp dpt:242
0
logInboundBlocked  udp  --  anywhere             anywhere            udp dpt:67
logInboundPermitted  udp  --  anywhere             anywhere            udp dpt:6
8
logInboundBlocked  udp  --  anywhere             anywhere            udp dpt:53
logInboundBlocked  tcp  --  anywhere             anywhere            tcp dpt:53
logInboundBlocked  tcp  --  anywhere             anywhere            tcp dpt:22
logInboundBlocked  tcp  --  anywhere             anywhere            tcp dpt:23
logInboundPermitted  igmp --  anywhere             anywhere
proto_chain  all  --  anywhere             anywhere
algports_filter  all  --  anywhere             anywhere
inwan_default_input_filter  all  --  anywhere             anywhere

Chain inwan_level_forward_filter (1 references)
target     prot opt source               destination

Chain inwan_level_input_filter (1 references)
target     prot opt source               destination
logInboundPermitted  icmp --  anywhere             anywhere

Chain inwan_spoofing_filter (0 references)
target     prot opt source               destination

Chain ipptfwd_filter (1 references)
target     prot opt source               destination

Chain lantrig_filter (1 references)
target     prot opt source               destination

Chain logInboundBlocked (18 references)
target     prot opt source               destination

Chain logInboundPermitted (14 references)
target     prot opt source               destination

Chain logOutboundBlocked (2 references)
target     prot opt source               destination

Chain logOutboundPermitted (9 references)
target     prot opt source               destination

Chain logforwardaccept (4 references)
target     prot opt source               destination
logInboundPermitted  all  --  anywhere             anywhere
logOutboundPermitted  all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

Chain logforwarddrop (1 references)
target     prot opt source               destination
logInboundBlocked  all  --  anywhere             anywhere
logOutboundBlocked  all  --  anywhere             anywhere
DROP       all  --  anywhere             anywhere

Chain outlan_default_output_filter (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain outwan_default_forward_filter (1 references)
target     prot opt source               destination
logOutboundPermitted  all  --  anywhere             anywhere

Chain outwan_default_output_filter (1 references)
target     prot opt source               destination
logOutboundPermitted  all  --  anywhere             anywhere

Chain outwan_forward_filter (0 references)
target     prot opt source               destination
wbaout_filter  all  --  anywhere             anywhere
outwan_level_forward_filter  all  --  anywhere             anywhere
lantrig_filter  all  --  anywhere             anywhere
wanoutgoing_filter  all  --  anywhere             anywhere
proto_chain  all  --  anywhere             anywhere
outwan_default_forward_filter  all  --  anywhere             anywhere


Chain outwan_level_forward_filter (1 references)
target     prot opt source               destination
logOutboundPermitted  all  --  anywhere             anywhere

Chain outwan_level_output_filter (1 references)
target     prot opt source               destination

Chain outwan_output_filter (0 references)
target     prot opt source               destination
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S
YN TCPMSS clamp to PMTU
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/S
YN TCPMSS clamp to PMTU
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTAB
LISHED
outwan_level_output_filter  all  --  anywhere             anywhere
logOutboundPermitted  udp  --  anywhere             anywhere            udp dpt:
67
logOutboundPermitted  udp  --  anywhere             anywhere            udp dpt:
53
logOutboundPermitted  icmp --  anywhere             anywhere
logOutboundPermitted  udp  --  anywhere             anywhere            udp dpt:
123
logOutboundBlocked  udp  --  anywhere             anywhere            udp dpt:52
0
outwan_default_output_filter  all  --  anywhere             anywhere

Chain portforward_filter (1 references)
target     prot opt source               destination
logforwardaccept  tcp  --  anywhere             hubrouter           tcp dpt:4567

logforwardaccept  udp  --  anywhere             hubrouter           udp dpt:520

Chain proto_chain (4 references)
target     prot opt source               destination

Chain wanoutgoing_filter (1 references)
target     prot opt source               destination
logforwardaccept  tcp  --  anywhere             anywhere            tcp spt:500
dpt:500
logforwardaccept  udp  --  anywhere             anywhere            udp spt:500
dpt:500

Chain wantrig_filter (1 references)
target     prot opt source               destination

Chain wbaout_filter (1 references)
target     prot opt source               destination
#


Last edited by baba2s on Fri Aug 06, 2010 23:15; edited 2 times in total
Rhandy
DD-WRT Novice


Joined: 04 Aug 2010
Posts: 19

PostPosted: Fri Aug 06, 2010 17:26    Post subject: Reply with quote
Oh men! I make this to work. But when I turn on/off the router, everything goes away.
I was able to browse the internet.
I don't know how but i did.
The main router is connnected to the DSL, and the second one, connected to that main router wirelessly and that second router is connected to a computer (wired) and I was able to browse the internet.
But, everything goes away now. Sad
baba2s
DD-WRT Novice


Joined: 23 Sep 2006
Posts: 43

PostPosted: Fri Aug 06, 2010 18:30    Post subject: put code in Custom Security (None) Reply with quote
Rhandy wrote:
Oh men! I make this to work. But when I turn on/off the router, everything goes away.
I was able to browse the internet.
I don't know how but i did.
The main router is connnected to the DSL, and the second one, connected to that main router wirelessly and that second router is connected to a computer (wired) and I was able to browse the internet.
But, everything goes away now. Sad


Put all your code in Custom Security (None)

From web browser,In Firewell Setting
1. select Custom Security (None), Apply
2. now click 'Edit' ( its next to 'select Custom Security')
3. in ' User Defined Firewall Rules' have all your commands in the last and save , apply.

/&/& /sbin/telnetd
wl ap 0
wl wsec 1
wl wet 1
....

you will be good

I am still checking why i can't browse.. I can ping too all sites..
davy_gravy
DD-WRT User


Joined: 05 Jun 2010
Posts: 159

PostPosted: Fri Aug 06, 2010 19:05    Post subject: Reply with quote
...just a friendly word of caution about adding Custom Firewall stuff...

I've done it dozens of times with impunity (knock on wood), but one user suggested that putting a "bad" statement in here may partially brick or perhaps at least temporarily mess up your router. I haven't had a bad experience with this yet, but his account made it sound as if even pressing the reset button on the back of the router to reset to factory defaults did not work for him. ??? That sounds strange, but I guess you never know.

I would strongly suggest that you script out your commands in a long text file, and first double or triple check that they are all correct, before pasting them into that Custom Firewall window and pressing "Save". You should be able to test/debug your command sequence out by pasting them one-by-one to a telnet window, and observing output.
Rhandy
DD-WRT Novice


Joined: 04 Aug 2010
Posts: 19

PostPosted: Fri Aug 06, 2010 20:04    Post subject: Reply with quote
I don't know how I did that, and I lost all the settings. Anyone knows what I mean?

I have two routers. (7501)

The first one is connected (WAN Port) to my DSL Modem.
Also, it has on the Ethernet 1 and Ethernet 2 Interfaces two computers connected.

However, the one I want to modify is the second one, not the first.
I want that the second one connect to the first one as a client (wirelessly) and share the Internet connection with the other Ethernet Interfaces.

How can I do that?
I know that it's possible because I did, but as I said, when I turned off the router, it lost all the settings. Can you help me BBBexodus?

Thanks!
baba2s
DD-WRT Novice


Joined: 23 Sep 2006
Posts: 43

PostPosted: Fri Aug 06, 2010 21:33    Post subject: Reply with quote
Rhandy wrote:
I don't know how I did that, and I lost all the settings. Anyone knows what I mean?

I have two routers. (7501)

The first one is connected (WAN Port) to my DSL Modem.
Also, it has on the Ethernet 1 and Ethernet 2 Interfaces two computers connected.

However, the one I want to modify is the second one, not the first.
I want that the second one connect to the first one as a client (wirelessly) and share the Internet connection with the other Ethernet Interfaces.

How can I do that?
I know that it's possible because I did, but as I said, when I turned off the router, it lost all the settings. Can you help me BBBexodus?
Thanks!


I exactly want same on my router...
Try setting again from my post or BBBexodus post in telnet window first ( as davy_gravy said , always make sure you test commands first)

davy_gravy, BBBexodus any suggestions?
after the client settings ( in my last post), i can ping all sites from the router's telnet window but not from the computers connected to its LAN?
looks like its Firewall ?
davy_gravy
DD-WRT User


Joined: 05 Jun 2010
Posts: 159

PostPosted: Mon Aug 09, 2010 2:44    Post subject: Reply with quote
the package that I put together for the Verizon 7501 so that it support USB disk sharing, USB printing, and UPnP media sharing now has a finished web interface, basic, but it works and provides usable/useful function:

Rhandy
DD-WRT Novice


Joined: 04 Aug 2010
Posts: 19

PostPosted: Mon Aug 09, 2010 12:35    Post subject: Reply with quote
davy_gravy wrote:
the package that I put together for the Verizon 7501 so that it support USB disk sharing, USB printing, and UPnP media sharing now has a finished web interface, basic, but it works and provides usable/useful function:



@davy_gravy
I didn't understood this:
https://sites.google.com/a/tds.net/unlock-your-verizon-westell-7501-wireless-g-router/home/make-entire-network-visible

I followed those steps very carefully but not success. Can you help me please?
Does this means that it passes the network/internet connection that it gets wirelessly to the wired devices connected to it?
davy_gravy
DD-WRT User


Joined: 05 Jun 2010
Posts: 159

PostPosted: Mon Aug 09, 2010 15:18    Post subject: Reply with quote
OK, I've reread and re-reread everything I can find ... and changed the title of the article... Wireless Switch Mode. If this seem counterintuitive to anyone, just think about the difference between a router and a switch.

Well, basically, it just works as a wireless _switch_. These are the basic settings & connection of cables:
-NAT is turned off

-the WAN port on the 7501 is not used (instead of DSL/cable_modem <-> WAN_on_7501, it must be DSL/cable_modem <-> any_LAN_port_on_7501

-dhcp is handled by your DSL/Cable modem

-Private LAN is turned off

-Public LAN on, using static IP settings

Essentially, it means your wireless router does only one thing in terms of network traffic - it passes wireless traffic straight through to&from the DSL/cable modem, without blocking anything or performing NAT. I changed the name of this article, since there seems to be some confusion and unclarity (not just in the literature, but for _me_ too, about what 'wireless bridge' means)...
ZGitRDun8705
DD-WRT Novice


Joined: 07 Jun 2010
Posts: 12

PostPosted: Mon Aug 09, 2010 16:46    Post subject: Wireless: Switch/Bridge/Access Point Reply with quote
As I understand it, a wireless switch performs none of the standard routing functions (NAT, DHCP, Firewall), and simply acts as a wired switch would (splitting traffic among multiple devices), and is connected to the primary router via wire to one of the LAN ports or to the WAN port

A wireless bridge is used to connect 2 routers. again, the secondary router (the one in bridge mode) doesnt do dhcp, firewall or nat, but is connected wirelessly to the primary router, allowing them to be placed far apart. This means only the wired ports of the secondary router can be used.

A wireless access point may or may not perform additional dhcp, firewall, or nat, and is used to add wireless capability to a wired network, and is connected to the primary router via wire to the WAN port.


davy_gravy wrote:
OK, I've reread and re-reread everything I can find ... and changed the title of the article... Wireless Switch Mode. If this seem counterintuitive to anyone, just think about the difference between a router and a switch.

Well, basically, it just works as a wireless _switch_. These are the basic settings & connection of cables:
-NAT is turned off

-the WAN port on the 7501 is not used (instead of DSL/cable_modem <-> WAN_on_7501, it must be DSL/cable_modem <-> any_LAN_port_on_7501

-dhcp is handled by your DSL/Cable modem

-Private LAN is turned off

-Public LAN on, using static IP settings

Essentially, it means your wireless router does only one thing in terms of network traffic - it passes wireless traffic straight through to&from the DSL/cable modem, without blocking anything or performing NAT. I changed the name of this article, since there seems to be some confusion and unclarity (not just in the literature, but for _me_ too, about what 'wireless bridge' means)...
davy_gravy
DD-WRT User


Joined: 05 Jun 2010
Posts: 159

PostPosted: Mon Aug 09, 2010 17:53    Post subject: Reply with quote
yes, ZGitRDun8705, that's exactly what I mean. Thanks for clarifying what I'd only been able to circumlocute about. Wink

The term "wireless access point" is very general. The "wireless switch" mode we're talking about then can be looked at as a subset of WAP.
Goto page Previous  1, 2, 3 ... 30, 31, 32 ... 53, 54, 55  Next Display posts from previous:    Page 31 of 55
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum