跳至主要内容

老毛子路由器无线桥接问题

  1.  信道带宽:改成20M
  2.  关闭DHCP 服务器  关闭动态 (DHCP) 路由
  3. 修改IP地址从192.168.123.1到192.168.1.114 
  4. 无线 AP 工作模式:选择AP-Client+AP
  5. 无线 AP-Client 角色:选择LAN bridge
  6. 连上上级wifi
done

路由器自身可能上不去网,执行:

route add default  gw 192.168.1.1

不过这种方式无法翻墙

//////////////////////////////////////////////////////////////

第二种方式
  1. 不改信道不关闭DHCP,保持网段是192.168.123.1
  2. 无线 AP 工作模式:选择AP-Client+AP
  3. 无线 AP-Client 角色:选择WAN
  4. 连上上级wifi
done

路由器可以翻墙,但是192.168.1.1的机器访问不了192.168.123.1的机器
解决方法:
在192.168.123.1的机器把想要访问的机器比如192.168.123.100设置DMZ主机,这样就可以访问了,在 192.168.1.1能看到分配的ip比如192.168.1.115

评论

此博客中的热门博文

ncurses与readline结合

  #define _XOPEN_SOURCE 700       /* for wcswidth and 700 is for mbsnrtowcs */ #include<wchar.h> #include<ncurses.h>       /* ncurses.h includes stdio.h */ #include<stdlib.h> #include<string.h> #include<readline/readline.h> #include<locale.h>     int mygetstr( char *str, int y, int x){    WINDOW *win;    int size, col;    int ok = 0;    int width;    wchar_t wstr[80];    char *p;        getmaxyx(stdscr, size, col);        void getaline( char *s){      str = s;      rl_callback_handler_remove();      ok = 1;    }        rl_callback_handler_install( "" , getaline);    win = newwin(1, col-x, y, x);    while (1){      rl_callback_read_char(); ...