Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1801109
  • 博文数量: 286
  • 博客积分: 3713
  • 博客等级: 少校
  • 技术积分: 2275
  • 用 户 组: 普通用户
  • 注册时间: 2012-01-11 09:47
个人简介

http://blog.chinaunix.net/uid/16979052.html

文章分类

全部博文(286)

文章存档

2018年(1)

2017年(16)

2016年(9)

2015年(17)

2014年(15)

2013年(112)

2012年(116)

发布时间:2012-06-27 16:00:07

echo "1" > /proc/sys/net/ipv4/ip_forwardiptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADEiptables -A POSTROUTING -t nat -o ppp1 -j MASQUERADEip route replace default scope global nexthop dev ppp0 nexthop dev ppp1ip route flush cache......【阅读全文】

阅读(1749) | 评论(0) | 转发(0)

发布时间:2012-06-27 15:58:27

1 ip link add link eth0 dev eth1 type macvlan2 ifconfig  eth1 hw ether 00:26:9e:45:93:f4......【阅读全文】

阅读(1961) | 评论(0) | 转发(0)

发布时间:2012-06-27 10:48:23

#include #include /*Check if the bit BIT in FLAGS is set.*/#define CHECK_FLAG(flags,bit) ((flags) & (1 << (bit)))struct MultibootInfo bootInfo;extern void early_serial_init();void setup_param(uint8_t *addr, int magic){ early_serial_init(); struct Multiboot.........【阅读全文】

阅读(1544) | 评论(0) | 转发(0)

发布时间:2012-06-27 10:45:51

#include .global multiboot_entry.section .boot/*Multiboot header, 32-bit aligned.*/.align 4 .long (MULTIBOOT_HEADER_MAGIC) .long (MULTIBOOT_HEADER_FLAGS) .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS).align 4multiboot_entry: mov $boot_sta.........【阅读全文】

阅读(1054) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册