@moeller0 new thread to not screw the other up as well. Here's the newbie question :
So I got an OpenWrt snapshot up and running. My current issue is, that OpenWrt is connected via LAN cable (192.168.1.1 default IP) to a Windows notebook. The latter is connected via WiFi to the internet.
Now, if I want to opkg update/etc I don't get any connection to the internet (the notebook obviously does not forward/make a VLAN. Any suggestions how to overcome this? Or the other question: CAN I solve this in OpenWrt or only in Windows?
Is it possible to remove e.g. LAN4 from br-lan and set it up as a dhcp client LAN port? So that I can connect via that to my current LAN and get my new OpenWrt router conencted to the internet?
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
#list ports 'lan3'
#list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'test-lan'
option type 'bridge'
list ports 'lan3'
list ports 'lan4'
config interface 'lan2'
option device 'test-lan'
option proto 'dhcp'
#option ip6assign '60'
seems to work - DHCP server oon ports 1 and 2, DHCP client on port 3 and 4. opkg update works like a charm in my existing LAN AND I can conenct to the router via webinterface/ssh using default 192.168.1.1!
Just a quick note... do not upgrade packages on OpenWrt. Installing packages is fine, of course.
Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
That is my point, my config is not doing that at all, I do not have a working connection from my 7520 the the internet, as it acts a bridged modem, not as router. And I built my own firmware image so I could include all packages I want/need (like luci-mod-dsl) and even the configuration directly into the firmware without ever needing internet access. But that means my config is not a good reference for users that want a working wan.... I am still not sure we are fully on the same page on this....
Also, please keep this discussion out of the other thread....