Re: [OpenWrt-Devel] R: Re: Linking problem while building package

2008-08-06 Thread Karthik Venkateswaran
Hi Roberto,In the makefile.linux you could replace $(CC) with $(CXX). Presently the build configuration of openwrt(CC=uclibc-gcc) is overriding mgen (CC=g++). As per rules.mk the build flag CXX is uclibc-g++ which might resolve the issue you are facing.I am really a newbie to this forum, please pardon me for the choice of adjectives :) . As per my analysis of your issue , I deduced the solution could be as simple as substituting the CC with CXX in makefile.linux in MGEN source.Following is the file and specific lines which gives that info:trunk/rules.mk:84: CC=$(TARGET_CC) \trunk/rules.mk:86: CXX=$(TARGET_CROSS)g++ \Regards,Karthik Venkateswaran[EMAIL PROTECTED] wrote: -To: OpenWrt Development List openwrt-devel@lists.openwrt.orgFrom: Roberto Riggio [EMAIL PROTECTED]Sent by: [EMAIL PROTECTED]Date: 08/06/2008 11:00AMcc: OpenWrt Development List openwrt-devel@lists.openwrt.orgSubject: [OpenWrt-Devel] R: Re:  Linking problem while building package- "Karthik Venkateswaran" [EMAIL PROTECTED] ha scritto: A simple solution is to use $(CXX) instead of $(CC) in MGEN source  Makefile.Sorry for the very simple question, but how do I tell kamikaze to use g++in the package Makefile. The mgen makefile already spacifies g++ but it is ignored by kamikaze.  Karthik VenkateswaranR.___openwrt-devel mailing listopenwrt-devel@lists.openwrt.orghttp://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel__
This email may contain confidential or privileged information for the intended recipient(s). If you are not the intended recipient please do not use or disseminate the information notify the sender and delete it from your system. Thanks

__

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] how to briding lan and wan

2008-08-04 Thread Karthik Venkateswaran
Can you cut and paste your /etc/config/network and ifconfig to give more 
clarity.

Cheers,
Karthik Venkateswaran
 



Gary Li [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
08/04/2008 05:11 PM
Please respond to
OpenWrt Development List openwrt-devel@lists.openwrt.org


To
openwrt-devel@lists.openwrt.org
cc

Subject
[OpenWrt-Devel] how to briding lan and wan






Hi all,
 
When I try to modify configuration to support brige in the 
etc/config/netwok.
And execute network restart. 
I got a error:
Interface type bridge not supported.
 
Anyone know how to do that?
 
Thanks,
 
Best regards,
Gary
 
 

__
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



_
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] how to briding lan and wan

2008-08-04 Thread Karthik Venkateswaran
Gary,
After analyzing the config.sh from /lib/network (for Kamikaze 7.09:
The bridge is only supported as interface type. 
option type {bridge}
option proto{static, dhcp}
If you are interested in bridging your lan and wan interface you could 
have more success adding it as a type in both interfaces.
I also had to tweak with the firewall settings for bridging to work.


Good day,
Karthik Venkateswaran




Gary Li [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
08/05/2008 06:58 AM
Please respond to
OpenWrt Development List openwrt-devel@lists.openwrt.org


To
'OpenWrt Development List' openwrt-devel@lists.openwrt.org
cc

Subject
Re: [OpenWrt-Devel] how to briding lan and wan






 
Hi Karthik,
 
I just try to change lan option proto.
The conf is as below:
 
config interface loopback
option ifname   lo
option protostatic
option ipaddr   127.0.0.1
option netmask  255.0.0.0
 
config interface lan
option ifname   eth0
option proto  bridge
option ipaddr   '192.168.8.180'
option netmask  255.255.255.0
 
config interface wan
option ifname   eth1
option protodhcp
 
the result of ifconfig command:
 
eth0  Link encap:Ethernet  HWaddr 00:01:C1:00:42:80 
  inet addr:192.168.8.188  Bcast:192.168.8.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:112374 errors:0 dropped:0 overruns:0 frame:0
  TX packets:892 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:9910188 (9.4 MiB)  TX bytes:154740 (151.1 KiB)
 
eth1  Link encap:Ethernet  HWaddr 00:01:C1:00:42:81 
  inet addr:192.168.7.188  Bcast:192.168.7.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:63040 (61.5 KiB)
 
fpLink encap:Ethernet  HWaddr 00:00:00:00:00:00 
  UP RUNNING  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
loLink encap:Local Loopback 
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:178 errors:0 dropped:0 overruns:0 frame:0
  TX packets:178 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:27024 (26.3 KiB)  TX bytes:27024 (26.3 KiB)
 
Thanks,
 
Best Regards,
Gary
 

From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Karthik 
Venkateswaran
Sent: Monday, August 04, 2008 8:18 PM
To: OpenWrt Development List
Subject: Re: [OpenWrt-Devel] how to briding lan and wan
 

Can you cut and paste your /etc/config/network and ifconfig to give more 
clarity. 

Cheers, 
Karthik Venkateswaran



Gary Li [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 
08/04/2008 05:11 PM 


Please respond to
OpenWrt Development List openwrt-devel@lists.openwrt.org



To
openwrt-devel@lists.openwrt.org 
cc
 
Subject
[OpenWrt-Devel] how to briding lan and wan
 


 
 

 

Hi all, 
  
When I try to modify configuration to support brige in the 
etc/config/netwok. 
And execute network restart. 
I got a error: 
Interface type bridge not supported. 
  
Anyone know how to do that? 
  
Thanks, 
  
Best regards, 
Gary 
  
  

__
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

__

__
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



_
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel