<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ubuntu,debian,redhat -linuxany.com &#187; 6. Embedded</title>
	<atom:link href="http://www.linuxany.com/archives/category/embedded/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 08:59:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>[原创]移植常用软件到MIPS平台之mysql5</title>
		<link>http://www.linuxany.com/archives/1222.html</link>
		<comments>http://www.linuxany.com/archives/1222.html#comments</comments>
		<pubDate>Sat, 20 Feb 2010 07:35:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MIPS]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[hndtools]]></category>
		<category><![CDATA[mipsel]]></category>
		<category><![CDATA[mysq.cross-compile]]></category>
		<category><![CDATA[uclibc]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1222</guid>
		<description><![CDATA[1.平台环境：BCM3302 V2.9 2.移植软件：mysql5(下载：mysql-5.0.22.tar.gz) 3.移植目标： 能在目标平台上正常以后台进程方式运行 能正常查询，建立数据等日常数据库操作 4.移植说明： CXX 必须指定C++的编译器，否则configure即出错 一、编译环境的建立 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; export CXX=/usr/local/hndtools-mipsel-uclibc-4.2.4/bin/mipsel-linux-g++ export CPPFLAGS='-s -static -I/usr/local/hndtools-mipsel-uclibc-4.2.4/include' export CFLAGS='-s -static -I/usr/local/hndtools-mipsel-uclibc-4.2.4/include' export LDFLAGS=-L/usr/local/hndtools-mipsel-uclibc-4.2.4/lib/ export CC=/usr/local/hndtools-mipsel-uclibc-4.2.4/bin/mipsel-linux-gcc &#160; export AR=/usr/local/hndtools-mipsel-uclibc-4.2.4/bin/mipsel-linux-ar export LD=/usr/local/hndtools-mipsel-uclibc-4.2.4/bin/mipsel-linux-ld export RANLIB=/usr/local/hndtools-mipsel-uclibc-4.2.4/bin/mipsel-linux-ranlib 二、建立配置文件 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; ./configure&#160; --prefix=/linuxany.com/cross/mysql --host=mips-linux --with-named-curses-libs=/mnt/usb1_1/mips_ncurses/lib/libncurses.a --without-debug --without-docs --without-man --without-bench --with-mysqld-ldflags=-all-static&#160; --with-client-ldflags=-all-static 出错解决： 1、return type of sprintf : error: cannot run test program [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1222.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[原创]移植常用软件到ARM平台之samba2</title>
		<link>http://www.linuxany.com/archives/1201.html</link>
		<comments>http://www.linuxany.com/archives/1201.html#comments</comments>
		<pubDate>Mon, 15 Feb 2010 09:31:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[nmbd]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[smbd]]></category>
		<category><![CDATA[smbpasswd]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1201</guid>
		<description><![CDATA[1.平台环境： ARM1026EJ-Sid(wb)B rev 2 (v5l) 2.移植软件： samba2(下载：samba2.2.12) 3.移植目标： 能在目标平台上正常以后台进程方式运行 能正常输出日志，便于查错（日常运行时关闭） 能提供基于用户的认证功能 4.移植说明： 因samba3较大，相对samba2也只是提供了对域控的支持，一般情况下用不到，所以选择了samba2的最后一个版本。 最终生成的配置文件位置由./configure &#8211;prefix=/xx/xx决定，需特别注意，否则将导致进程无法加载。 另外如用windows访问共享时出现无权访问的问题，请注销或重启再访问即可解决问题。 具体移植步骤： 1.解压源码 2.进入源码目录： cd samba-2.2.12/source 3.修改源码： （1）在include/config.h文件里最后面增加： #define USE_SETEUID 1 （2）修改lib/util_unistr.c第739、762行为： return True; （3）在passdb/pdb_tdb.c第44行开始添加如下代码： #define PWD_BUFFER_SIZE 256 char bb_path_passwd_file[]=&#34;/etc/passwd&#34; ; struct passwd *__getpwent(int pwd_fd) { &#160; &#160; &#160;&#160; static&#160;char line_buff[PWD_BUFFER_SIZE]; &#160; &#160; &#160;&#160; static&#160;struct passwd passwd; &#160; &#160; &#160;&#160; [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1201.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tomato合并带宽，双wan(dualwan)原理</title>
		<link>http://www.linuxany.com/archives/931.html</link>
		<comments>http://www.linuxany.com/archives/931.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 08:12:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MIPS]]></category>
		<category><![CDATA[dualwan]]></category>
		<category><![CDATA[vlan]]></category>
		<category><![CDATA[wan]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=931</guid>
		<description><![CDATA[单wan原理图 双wan(dualwan)原理图 多了一个vlan2，把prot1设置成vlan2，这个vlan2的端口，必须包括port1，和prot5，这样才能有效。 原理：WAN和LAN颠倒，4个LAN口都做独立的VLAN，wan口变成lan口，把wan口设置成vlan0，把另外的4个以前的lan口设置成vlan1，vlan2，vlan3，vlan4，这样我们就可以实现4条带宽的合并了。 您还可能感兴趣的内容tomato实时带宽检测的含义[原创]移植常用软件到MIPS平台之mysql5]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/931.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tomato实时带宽检测的含义</title>
		<link>http://www.linuxany.com/archives/924.html</link>
		<comments>http://www.linuxany.com/archives/924.html#comments</comments>
		<pubDate>Wed, 27 Jan 2010 07:42:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MIPS]]></category>
		<category><![CDATA[eth]]></category>
		<category><![CDATA[wan]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=924</guid>
		<description><![CDATA[监控页面图： 下面是各接口的带宽占用方式 整个router分为两个vlan：wan口，是在vlan1里，内网的4个端口，在vlan0里 wan口：外网的带宽使用 WL(eth2)：看上图就是通过无线传输使用的带宽，无线网络是通过bridge，连接到vlan0里，wifi连接到br0，br0连接到vlan0上。 BR0：内网，无线的流量 port5：所有的流量都是通过这个端口，cpu也是通过这个端口才能看到网络的流量。所以两个vlan都必须包括这个port5， et0 ：整个交换机的名字，这个是不能修改的。 您还可能感兴趣的内容tomato合并带宽，双wan(dualwan)原理[原创]移植常用软件到MIPS平台之mysql5]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/924.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

